Error Undefined symbols for architecture armv7: "_RELEASE_SAFELY", referenced from: - ios

Ld
/Users/macmini2/Library/Developer/Xcode/DerivedData/Vocab-cieqpeybobkktaberajtbzmxptpx/Build/Products/Debug-iphoneos/Vocab.app/Vocab
normal armv7
cd "/Users/macmini2/Desktop/utkal/LAnguage_forest14/Language_Forest/Vocabulary
Tutor/Vocab"
setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
-L/Users/macmini2/Library/Developer/Xcode/DerivedData/Vocab-cieqpeybobkktaberajtbzmxptpx/Build/Products/Debug-iphoneos
-L/Users/macmini2/Desktop/utkal/LAnguage_forest14/Language_Forest/Vocabulary\
Tutor/Vocab/Airship
-L/Users/macmini2/Desktop/utkal/LAnguage_forest14/Language_Forest/Vocabulary\
Tutor/Vocab
-F/Users/macmini2/Library/Developer/Xcode/DerivedData/Vocab-cieqpeybobkktaberajtbzmxptpx/Build/Products/Debug-iphoneos
-F/Users/macmini2/Desktop/utkal/LAnguage_forest14/Language_Forest/Vocabulary\
Tutor/Vocab/../iOS\ Framework
-F/Users/macmini2/Desktop/utkal/LAnguage_forest14/Language_Forest/Vocabulary\
Tutor/Vocab/../iOS\ Framework -filelist
/Users/macmini2/Library/Developer/Xcode/DerivedData/Vocab-cieqpeybobkktaberajtbzmxptpx/Build/Intermediates/Vocab.build/Debug-iphoneos/Vocab.build/Objects-normal/armv7/Vocab.LinkFileList
-dead_strip -ObjC -lz -all_load -fobjc-link-runtime -miphoneos-version-min=6.0 -framework MapKit -lUAirship-2.1.0 -lUAirship-2.1.0 -framework Social -framework CoreData -framework CFNetwork -framework CoreLocation -framework StoreKit -framework
CoreTelephony -lz -lOAuth-ios6 -framework MobileCoreServices
-framework MediaPlayer -framework Security -lxml2 -framework QuartzCore -framework MessageUI -framework AVFoundation -framework
AudioToolbox -framework SystemConfiguration -framework CoreText
-lsqlite3 -framework UIKit -framework Foundation -framework CoreGraphics -framework WordnikUI -Xlinker -dependency_info -Xlinker
/Users/macmini2/Library/Developer/Xcode/DerivedData/Vocab-cieqpeybobkktaberajtbzmxptpx/Build/Intermediates/Vocab.build/Debug-iphoneos/Vocab.build/Objects-normal/armv7/Vocab_dependency_info.dat
-o /Users/macmini2/Library/Developer/Xcode/DerivedData/Vocab-cieqpeybobkktaberajtbzmxptpx/Build/Products/Debug-iphoneos/Vocab.app/Vocab
Undefined symbols for architecture armv7: "_RELEASE_SAFELY",
referenced from:
-[VocabViewController dealloc] in VocabViewController.o ld: symbol(s) not found for architecture armv7 clang: error: linker
command failed with exit code 1 (use -v to see invocation)
I am getting this error ,i dont know what does it mean i googled a
lot but not getting any solution.
I am going to submit my app and using libUAirship 1.1.2.a which
causes error Of UDID and apple failed validation.
SO download latest libUariship 2.1.0.a and after implemetaion of that
i am getting this error.Help me.

i tought its coming from xCode version and the macro defined. because RELEASE_SAFELY is not a function.
#define RELEASE_SAFELY(__POINTER) { [__POINTER release]; __POINTER = nil; }
source link this help you more

Related

OBJC Class referenced from when doing an Archive

When I just run the app on a simulator everything works fine.
Now I want to archive the app to upload it to testflight and I get these errors when archiving:
Ld /Users/user123/Library/Developer/Xcode/DerivedData/CityLife-eoovatnxpocygjcdijxojtryqted/Build/Intermediates/ArchiveIntermediates/Production/IntermediateBuildFilesPath/CityLife.build/Release-iphoneos/Production.build/Objects-normal/arm64/Production normal arm64
cd /Users/user123/Documents/Development/Comp/citylife_user_phone_app_ios
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/user123/Library/Developer/Xcode/DerivedData/CityLife-eoovatnxpocygjcdijxojtryqted/Build/Intermediates/ArchiveIntermediates/Production/BuildProductsPath/Release-iphoneos -L/Users/user123/Documents/Development/Comp/citylife_user_phone_app_ios/Pods/GoogleAnalytics/Libraries -F/Users/user123/Library/Developer/Xcode/DerivedData/CityLife-eoovatnxpocygjcdijxojtryqted/Build/Intermediates/ArchiveIntermediates/Production/BuildProductsPath/Release-iphoneos -FCityLife/Frameworks -F/Users/user123/Documents/Development/Comp/citylife_user_phone_app_ios -filelist /Users/user123/Library/Developer/Xcode/DerivedData/CityLife-eoovatnxpocygjcdijxojtryqted/Build/Intermediates/ArchiveIntermediates/Production/IntermediateBuildFilesPath/CityLife.build/Release-iphoneos/Production.build/Objects-normal/arm64/Production.LinkFileList -miphoneos-version-min=7.0 -dead_strip -ObjC -lAFNetworkActivityLogger -lAFNetworking -lAFOAuth2Manager -lBase64 -lFXBlurView -lGVPhotoBrowser -lGoogleAnalytics -lHexColors -lISO8601DateFormatter -lJSONModel -lMBProgressHUD -lMagicalRecord -lMasonry -lMixpanel -lNSDate+RelativeTime -lPDKeychainBindingsController -lQR-Code-Encoder-for-Objective-C -lREMenu -lReliant -lSVProgressHUD -lTSMessages -lTTTAttributedLabel -lTTTLocalizedPluralString -lUICKeyChainStore -lUIScrollView-InfiniteScroll -licucore -lsqlite3 -lz -framework Accelerate -framework CoreData -framework CoreGraphics -framework CoreTelephony -framework CoreText -framework Foundation -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit -fobjc-arc -fobjc-link-runtime -stdlib=libc++ -framework CoreData -lz -framework SystemConfiguration -framework CoreTelephony -framework AVFoundation -framework CoreMedia -framework QuartzCore -framework CoreVideo -framework MobileCoreServices -framework KBCPaymentKit -framework AdSupport -framework AddressBookUI -framework Crashlytics -framework AddressBook -liconv -framework MessageUI -framework MapKit -lsqlite3 -framework CoreLocation -framework Accounts -framework Social -framework UIKit -framework Foundation -framework CoreGraphics -lPods -Xlinker -dependency_info -Xlinker /Users/user123/Library/Developer/Xcode/DerivedData/CityLife-eoovatnxpocygjcdijxojtryqted/Build/Intermediates/ArchiveIntermediates/Production/IntermediateBuildFilesPath/CityLife.build/Release-iphoneos/Production.build/Objects-normal/arm64/Production_dependency_info.dat -o /Users/user123/Library/Developer/Xcode/DerivedData/CityLife-eoovatnxpocygjcdijxojtryqted/Build/Intermediates/ArchiveIntermediates/Production/IntermediateBuildFilesPath/CityLife.build/Release-iphoneos/Production.build/Objects-normal/arm64/Production
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_CommunityRemoteService", referenced from:
objc-class-ref in CommunityDetailsViewController.o
objc-class-ref in CommunityRewardsTableViewController.o
objc-class-ref in WishlistTableViewController.o
objc-class-ref in CommunityOverviewTableViewController.o
objc-class-ref in CommunityRewardDetailTableViewController.o
objc-class-ref in ProfileCommunityOverViewTableViewController.o
objc-class-ref in CommunityDealsTableViewController.o
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried things like adding the $(inherited) flag on the Pods target but nothing helps.
Someone knows whats wrong?
Found the problem. Because I've created the files with AppCode the files were only in the test target and not in the production target.
I've added them via xCode to the compile sources and now it works.

Getting MobileVLCKit to work through Cocoapods

I've been struggling to get VLC working in my iOS app for a while now. Using Cocoapods, the MobileVLCKit is imported into my project. When I run the app now, it compiles with no problem. However, when I include anything from the MobileVLCKit (MobileVLCKit.h, VLCMediaPlayer.h), the app crashes, telling me that symbols aren't found.
This is the crash:
Ld /Users/JohnDoe/Library/Developer/Xcode/DerivedData/iOSCamApp-cnnuesgeqommwvbqtarspgwsjgbn/Build/Products/Debug-iphoneos/Cameras.app/Cameras normal arm64
cd /Users/JohnDoe/ios-cam-app/iOSCamApp
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -L/Users/JohnDoe/Library/Developer/Xcode/DerivedData/iOSCamApp-cnnuesgeqommwvbqtarspgwsjgbn/Build/Products/Debug-iphoneos -LLibraries -LLibraries/FFmpeg -LLibraries/kxmovie -LLibraries/MBProgressHUD -LLibraries/Nabto -LLibraries/FFmpeg/include -LLibraries/kxmovie/kxmovie.bundle -LLibraries/Nabto/include -LLibraries/Nabto/lib -LLibraries/FFmpeg/include/libavcodec -LLibraries/FFmpeg/include/libavdevice -LLibraries/FFmpeg/include/libavfilter -LLibraries/FFmpeg/include/libavformat -LLibraries/FFmpeg/include/libavutil -LLibraries/FFmpeg/include/libswresample -LLibraries/FFmpeg/include/libswscale -L/Users/JohnDoe/ios-cam-app/iOSCamApp/Libraries/FFmpeg -L/Users/JohnDoe/ios-cam-app/iOSCamApp/Libraries/Nabto/lib -F/Users/JohnDoe/Library/Developer/Xcode/DerivedData/iOSCamApp-cnnuesgeqommwvbqtarspgwsjgbn/Build/Products/Debug-iphoneos -FFrameworks -F/Users/JohnDoe/ios-cam-app/iOSCamApp -filelist /Users/JohnDoe/Library/Developer/Xcode/DerivedData/iOSCamApp-cnnuesgeqommwvbqtarspgwsjgbn/Build/Intermediates/iOSCamApp.build/Debug-iphoneos/iOSCamApp.build/Objects-normal/arm64/Cameras.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -dead_strip -lPods-AFNetworking -framework CoreGraphics -framework MobileCoreServices -framework Security -framework SystemConfiguration -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.0 -lstdc++.6.0.9 -lc++ -liconv.2.4.0 -lbz2 -lz -framework MediaPlayer -framework CoreAudio -framework Crashlytics -framework AudioToolbox -framework Accelerate -framework OpenGLES -lnabto_static_external -framework CoreVideo -framework CoreMedia -framework CFNetwork -framework AVFoundation -lavutil -lavfilter -lPods -lavdevice -lswscale -lnabto_client_api_static -framework Fabric -lavformat -lswresample -lavcodec -framework QuartzCore -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/JohnDoe/Library/Developer/Xcode/DerivedData/iOSCamApp-cnnuesgeqommwvbqtarspgwsjgbn/Build/Intermediates/iOSCamApp.build/Debug-iphoneos/iOSCamApp.build/Objects-normal/arm64/Cameras_dependency_info.dat -o /Users/JohnDoe/Library/Developer/Xcode/DerivedData/iOSCamApp-cnnuesgeqommwvbqtarspgwsjgbn/Build/Products/Debug-iphoneos/Cameras.app/Cameras
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_VLCMediaPlayer", referenced from:
objc-class-ref in FirstViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When I installed VLC through cocoa pods, I got this warning:
The `iOSCamApp [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `../Pods/Target Support Files/Pods-iOSCamApp/Pods-iOSCamApp.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
When I add the $(inherited) flag and try to build, I get the following crash:
Ld /Users/JohnDoe/Library/Developer/Xcode/DerivedData/iOSCamApp-cnnuesgeqommwvbqtarspgwsjgbn/Build/Products/Debug-iphoneos/Cameras.app/Cameras normal arm64
cd /Users/JohnDoe/ios-cam-app/iOSCamApp
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -L/Users/JohnDoe/Library/Developer/Xcode/DerivedData/iOSCamApp-cnnuesgeqommwvbqtarspgwsjgbn/Build/Products/Debug-iphoneos -LLibraries -LLibraries/FFmpeg -LLibraries/kxmovie -LLibraries/MBProgressHUD -LLibraries/Nabto -LLibraries/FFmpeg/include -LLibraries/kxmovie/kxmovie.bundle -LLibraries/Nabto/include -LLibraries/Nabto/lib -LLibraries/FFmpeg/include/libavcodec -LLibraries/FFmpeg/include/libavdevice -LLibraries/FFmpeg/include/libavfilter -LLibraries/FFmpeg/include/libavformat -LLibraries/FFmpeg/include/libavutil -LLibraries/FFmpeg/include/libswresample -LLibraries/FFmpeg/include/libswscale -L/Users/JohnDoe/ios-cam-app/iOSCamApp/Libraries/FFmpeg -L/Users/JohnDoe/ios-cam-app/iOSCamApp/Libraries/Nabto/lib -F/Users/JohnDoe/Library/Developer/Xcode/DerivedData/iOSCamApp-cnnuesgeqommwvbqtarspgwsjgbn/Build/Products/Debug-iphoneos -FFrameworks -F/Users/JohnDoe/ios-cam-app/iOSCamApp -filelist /Users/JohnDoe/Library/Developer/Xcode/DerivedData/iOSCamApp-cnnuesgeqommwvbqtarspgwsjgbn/Build/Intermediates/iOSCamApp.build/Debug-iphoneos/iOSCamApp.build/Objects-normal/arm64/Cameras.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -dead_strip -lPods-AFNetworking -framework CoreGraphics -framework MobileCoreServices -framework Security -framework SystemConfiguration -ObjC -lPods-AFNetworking -lbz2 -liconv -lstdc++ -lxml2 -lz -framework AVFoundation -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreText -framework MobileCoreServices -framework MobileVLCKit -framework OpenGLES -framework QuartzCore -framework Security -framework SystemConfiguration -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.0 -lstdc++.6.0.9 -lc++ -liconv.2.4.0 -lbz2 -lz -framework MediaPlayer -framework CoreAudio -framework Crashlytics -framework AudioToolbox -framework Accelerate -framework OpenGLES -lnabto_static_external -framework CoreVideo -framework CoreMedia -framework CFNetwork -framework AVFoundation -lavutil -lavfilter -lPods -lavdevice -lswscale -lnabto_client_api_static -framework Fabric -lavformat -lswresample -lavcodec -framework QuartzCore -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/JohnDoe/Library/Developer/Xcode/DerivedData/iOSCamApp-cnnuesgeqommwvbqtarspgwsjgbn/Build/Intermediates/iOSCamApp.build/Debug-iphoneos/iOSCamApp.build/Objects-normal/arm64/Cameras_dependency_info.dat -o /Users/JohnDoe/Library/Developer/Xcode/DerivedData/iOSCamApp-cnnuesgeqommwvbqtarspgwsjgbn/Build/Products/Debug-iphoneos/Cameras.app/Cameras
ld: framework not found MobileVLCKit
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Does anyone know what to do? I've tried so many things and nothing seems to help. Autocomplete is able to read the VLC stuff and autocompletes it for me in Xcode, so the framework should be fine.
Undefined symbols for architecture arm64:
That seems to be the problem. You're compiling for the simulator and apparently MobileVLCKit isn't compiled for it. ld is the linker that complains about this. Have you tried running it on the device?
Check what architectures your project and MobileVLCKit are active on.

linker command failed with exit code 1 after update to XCode 6.3

I get
ld: library not found for -lPods-projectName-AFNetworkActivityLogger
clang: error: linker command failed with exit code 1 (use -v to see invocation)
while building, after update Xcode to 6.3
Any ideas?
EDIT:
Full log:
Ld /Users/radekwilczak/Library/Developer/Xcode/DerivedData/projectName-hkpnskhwpbvwkteungusfkzdjnvw/Build/Products/Debug-iphoneos/projectName.app/projectName normal armv7
cd /Users/radekwilczak/Work/projectName-ios
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -L/Users/radekwilczak/Library/Developer/Xcode/DerivedData/projectName-hkpnskhwpbvwkteungusfkzdjnvw/Build/Products/Debug-iphoneos -L/Users/radekwilczak/Work/projectName-ios/external/prmediaplayersdk/lib/iphoneos -L/Users/radekwilczak/Work/projectName-ios/external/Upnpx -L/Users/radekwilczak/Work/projectName-ios/external -L/Users/radekwilczak/Work/projectName-ios/external/prmediaplayersdk/lib -L/Users/radekwilczak/Work/projectName-ios/Pods/build/Debug-iphoneos -F/Users/radekwilczak/Library/Developer/Xcode/DerivedData/projectName-hkpnskhwpbvwkteungusfkzdjnvw/Build/Products/Debug-iphoneos -F/Users/radekwilczak/Work/projectName-ios/Pods/google-cast-sdk/GoogleCastSDK-2.5.2-Release -F/Users/radekwilczak/Work/projectName-ios -filelist /Users/radekwilczak/Library/Developer/Xcode/DerivedData/projectName-hkpnskhwpbvwkteungusfkzdjnvw/Build/Intermediates/projectName.build/Debug-iphoneos/projectName.build/Objects-normal/armv7/projectName.LinkFileList -dead_strip -ObjC -lPods-projectName-AFNetworkActivityLogger -lPods-projectName-AFNetworking -lPods-projectName-CSStickyHeaderFlowLayout -lPods-projectName-CocoaAsyncSocket -lPods-projectName-CocoaLumberjack -lPods-projectName-JSONModel -lPods-projectName-PureLayout -lPods-projectName-SFHFKeychainUtils -lPods-projectName-SVProgressHUD -lPods-projectName-TTTAttributedLabel -lPods-projectName-TYMActivityIndicatorView -lPods-projectName-TYMProgressBarView -lPods-projectName-google-cast-sdk -framework CFNetwork -framework CoreGraphics -framework CoreText -framework GoogleCast -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.0 -framework CoreText -framework MediaAccessibility -framework GoogleCast -framework CoreData -lsqlite3 -lstdc++.6.0.9 -lxml2 -lz -lGoogleAnalyticsServices -framework MediaPlayer -framework CoreMedia -framework CoreAudio -framework AudioToolbox -framework CFNetwork -framework MessageUI -framework SystemConfiguration -framework AVFoundation -framework Foundation -framework CoreGraphics -framework UIKit -framework Fabric -framework Security -lPRMediaPlayerFramework_v_2_3 -framework Crashlytics -lupnpx -Xlinker -dependency_info -Xlinker /Users/radekwilczak/Library/Developer/Xcode/DerivedData/projectName-hkpnskhwpbvwkteungusfkzdjnvw/Build/Intermediates/projectName.build/Debug-iphoneos/projectName.build/Objects-normal/armv7/projectName_dependency_info.dat -o /Users/radekwilczak/Library/Developer/Xcode/DerivedData/projectName-hkpnskhwpbvwkteungusfkzdjnvw/Build/Products/Debug-iphoneos/projectName.app/projectName
ld: warning: directory not found for option '-L/Users/radekwilczak/Work/projectName-ios/Pods/build/Debug-iphoneos'
ld: library not found for -lPods-projectName-AFNetworkActivityLogger
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Problem solved by removing
libPods.a
libPods-CD_GO.a
and adding
libPods-CD_GO.a
one more time (in Frameworks).

linking error in CanvasPop API ios

I am integarting canvaspop in my application.When I am integrating it in sample application it is working fine.But when I am using it in my app with other 3rd pary framework like GPUimage,IKImagePicker,xpload and other more.I am getting these errors while linking framework to my app.
Ld /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator/ImageEditorPro.app/ImageEditorPro normal i386
cd "/Volumes/DATA/Chakshu/clientProjects/Kamil/Editlab Testing/EditLab"
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator -LVendors/IAPPVerification -LVendors/TestFlight -LVendors/Canvas -F/Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator -FVendors/IKImagePickerController/Vendors/FacebookSDK -FImageEditorPro -FVendors/GooglePlus -F/Volumes/DATA/Chakshu/clientProjects/Kamil/Editlab\ Testing/EditLab/IddictionSDK.embeddedframework -F/Volumes/DATA/Chakshu/clientProjects/Kamil/Editlab\ Testing/EditLab/IddictionSDK.embeddedframework/XplodeSDK.embeddedframework -F/Volumes/DATA/Chakshu/clientProjects/Kamil/Editlab\ Testing/EditLab/XplodeSDK.embeddedframework -FVendors/Canvas -F/Volumes/DATA/Chakshu/clientProjects/Kamil/Editlab\ Testing/EditLab/Vendors/Canvas -filelist /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Intermediates/ImageEditorPro.build/Debug-iphonesimulator/ImageEditorPro.build/Objects-normal/i386/ImageEditorPro.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework Security -framework MobileCoreServices -framework CFNetwork -framework Accelerate -lz -lObjectiveFlickr -framework PopUpLib /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator/libTMTumblrSDK.a -framework CoreMotion -framework MediaPlayer -framework StoreKit -framework GoogleOpenSource -framework FacebookSDK -framework SystemConfiguration -framework MapKit -framework CoreVideo -framework CoreMedia -framework OpenGLES -framework AVFoundation /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator/libGPUImage.a -framework AdSupport -lsqlite3 -framework Social -framework Accounts -framework AssetsLibrary -lbeeblex -framework ImageIO -framework QuartzCore /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator/libIKImagePickerController.a -framework CoreGraphics -framework UIKit -lTestFlight -framework XplodeSDK -framework Foundation -framework GooglePlus -Xlinker -dependency_info -Xlinker /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Intermediates/ImageEditorPro.build/Debug-iphonesimulator/ImageEditorPro.build/Objects-normal/i386/ImageEditorPro_dependency_info.dat -o /Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Products/Debug-iphonesimulator/ImageEditorPro.app/ImageEditorPro
duplicate symbol _OBJC_CLASS_$_Reachability in:
/Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Intermediates/ImageEditorPro.build/Debug-iphonesimulator/ImageEditorPro.build/Objects-normal/i386/Reachability.o
Vendors/Canvas/PopUpLib.framework/PopUpLib(libPopUpLib.a-i386-master.o)
duplicate symbol _OBJC_METACLASS_$_Reachability in:
/Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Intermediates/ImageEditorPro.build/Debug-iphonesimulator/ImageEditorPro.build/Objects-normal/i386/Reachability.o
Vendors/Canvas/PopUpLib.framework/PopUpLib(libPopUpLib.a-i386-master.o)
duplicate symbol _kReachabilityChangedNotification in:
/Users/mandeep/Library/Developer/Xcode/DerivedData/ImageEditorPro-bkvuyjzwftcotmgjlrocdiyaqkqu/Build/Intermediates/ImageEditorPro.build/Debug-iphonesimulator/ImageEditorPro.build/Objects-normal/i386/Reachability.o
Vendors/Canvas/PopUpLib.framework/PopUpLib(libPopUpLib.a-i386-master.o)
ld: 3 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I think there are some setting in the build setting which have to change to successfully link this framework to app.
Thanks
Try having a look at this question and solution:
Conflict between class and static library
It explains how the .m files are possibly conflicting with each other.
Try out this solution and comment on the outcome.

iOS google drive api archive build error

I am currently working with google drive sdk for iOS. I just tested it on the simulator and everything worked good. I logged it I retrieved files and folders, but when I tried to archive I got this error:
Ld /Users/mac/Library/Developer/Xcode/DerivedData/MyProjectName-dtjsurmhdxhcktaoufqjodibkpdd/Build/Intermediates/ArchiveIntermediates/MyProjectName/IntermediateBuildFilesPath/MyProjectName.build/Release-iphoneos/MyProjectName.build/Objects-normal/armv7/MyProjectName normal armv7
cd /Users/mac/Documents/Projects/MyProjectName
setenv IPHONEOS_DEPLOYMENT_TARGET 6.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -L/Users/mac/Library/Developer/Xcode/DerivedData/MyProjectName-dtjsurmhdxhcktaoufqjodibkpdd/Build/Intermediates/ArchiveIntermediates/MyProjectName/BuildProductsPath/Release-iphoneos -F/Users/mac/Library/Developer/Xcode/DerivedData/MyProjectName-dtjsurmhdxhcktaoufqjodibkpdd/Build/Intermediates/ArchiveIntermediates/MyProjectName/BuildProductsPath/Release-iphoneos -F/Users/mac/Documents/Projects/MyProjectName/MyProjectName -F/Users/mac/Documents/Projects/MyProjectName/MyProjectName/Third\ Libraries -filelist /Users/mac/Library/Developer/Xcode/DerivedData/MyProjectName-dtjsurmhdxhcktaoufqjodibkpdd/Build/Intermediates/ArchiveIntermediates/MyProjectName/IntermediateBuildFilesPath/MyProjectName.build/Release-iphoneos/MyProjectName.build/Objects-normal/armv7/MyProjectName.LinkFileList -dead_strip -ObjC -framework CoreData -framework CoreGraphics -framework Foundation -framework ImageIO -framework MessageUI -framework QuartzCore -framework UIKit -all_load -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 -lGTLTouchStaticLib -framework QuartzCore -framework MobileCoreServices -framework SystemConfiguration -framework Security -framework DropboxSDK -framework CoreGraphics -framework UIKit -framework Foundation -lPods -Xlinker -dependency_info -Xlinker /Users/mac/Library/Developer/Xcode/DerivedData/MyProjectName-dtjsurmhdxhcktaoufqjodibkpdd/Build/Intermediates/ArchiveIntermediates/MyProjectName/IntermediateBuildFilesPath/MyProjectName.build/Release-iphoneos/MyProjectName.build/Objects-normal/armv7/MyProjectName_dependency_info.dat -o /Users/mac/Library/Developer/Xcode/DerivedData/MyProjectName-dtjsurmhdxhcktaoufqjodibkpdd/Build/Intermediates/ArchiveIntermediates/MyProjectName/IntermediateBuildFilesPath/MyProjectName.build/Release-iphoneos/MyProjectName.build/Objects-normal/armv7/MyProjectName
ld: library not found for -lGTLTouchStaticLib
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Resources