I just installed the GoogleMaps framework to my Xcode proj using Cocoapods
and I got these errors when compiling
Warning:
Target 'Pods' of project 'Pods' was rejected as an implicit dependency for 'libPods.a' because its architectures 'x86_64' didn't contain all required architectures 'i386 x86_64'
Error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please help
Related
when i use a framework in my podspec appear this error, how can i fix it ???
ld: illegal text-relocation to 'cstring' in /Users/XY/Desktop/AJKPlayer/AJKPlayer/Frameworks/wplayer.framework/wplayer(alphablend.o) from '_ff_sws_alphablendaway' in /Users/XY/Desktop/AJKPlayer/AJKPlayer/Frameworks/wplayer.framework/wplayer(alphablend.o) for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When i run on xcode 7 i got this error :
"duplicate symbol _OBJC_METACLASS_$_FlurryPLCrashReportMachExceptionInfo duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)"
How can i solve this ?
If you added flurry without CocoaPods you need choose your Target -> Build Phases -> Compile Sources and find FlurryPLCrashReportMachExceptionInfo class.
Remove duplicates
When trying to run my iOS app on Iphone 5 or 4S simulator, I'm getting this error message:
iOS - ld: library not found for -lAFNetworking clang: error: linker
command failed with exit code 1 (use -v to see invocation)
I am using Objective-C and iOS8 and Xcode 7.3.1 .
In Build Setting:
Architectures -> armv6,armv7,armv7s,arm64
Build Active Architecture Only -> NO
Valid Architectures -> arm64
I have matched all the configuration of the two project, and import the frameworks. and the error is:
ld: framework not found -stdlib=libstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I've run pod update and, having had these errors:
target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
(The target ... overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Pods.xcconfig )
I added $(inherited) to my Target.
However, I now get this:
ld: library not found for -lPods-AFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any suggestions?