I am using Apache Cordova to develop an app, and am trying to make it work on iOS, but a plugin I am using for Google Login is giving me trouble.
The plugin in question is: https://github.com/EddyVerbruggen/cordova-plugin-googleplus
And when I try to build, I get: ld: framework not found GooglePlus
Ld /Users/nicholas/Library/Developer/Xcode/DerivedData/Pass_Manager-gaxgomamsmvhnodgaqpeoiuajsrc/Build/Products/Debug-iphonesimulator/Pass\ Manager.app/Pass\ Manager normal x86_64
cd "/Users/nicholas/Documents/PhoneGap/Pass Manager/platforms/ios"
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -L/Users/nicholas/Library/Developer/Xcode/DerivedData/Pass_Manager-gaxgomamsmvhnodgaqpeoiuajsrc/Build/Products/Debug-iphonesimulator -F/Users/nicholas/Library/Developer/Xcode/DerivedData/Pass_Manager-gaxgomamsmvhnodgaqpeoiuajsrc/Build/Products/Debug-iphonesimulator -FPass\ Manager/Plugins/cordova-plugin-googleplus -filelist /Users/nicholas/Library/Developer/Xcode/DerivedData/Pass_Manager-gaxgomamsmvhnodgaqpeoiuajsrc/Build/Intermediates/Pass\ Manager.build/Debug-iphonesimulator/Pass\ Manager.build/Objects-normal/x86_64/Pass\ Manager.LinkFileList -mios-simulator-version-min=7.0 -Xlinker -objc_abi_version -Xlinker 2 -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -ObjC -fobjc-arc -fobjc-link-runtime -framework AssetsLibrary -framework GooglePlus /Users/nicholas/Library/Developer/Xcode/DerivedData/Pass_Manager-gaxgomamsmvhnodgaqpeoiuajsrc/Build/Products/Debug-iphonesimulator/libCordova.a -framework GoogleOpenSource -framework CoreGraphics -framework GoogleSignIn -framework MobileCoreServices -framework GoogleOpenSource -framework GoogleSignIn -weak_framework AddressBook -weak_framework CoreText -framework GooglePlus -weak_framework StoreKit -weak_framework SystemConfiguration -weak-lz -weak-lz -Xlinker -dependency_info -Xlinker /Users/nicholas/Library/Developer/Xcode/DerivedData/Pass_Manager-gaxgomamsmvhnodgaqpeoiuajsrc/Build/Intermediates/Pass\ Manager.build/Debug-iphonesimulator/Pass\ Manager.build/Objects-normal/x86_64/Pass\ Manager_dependency_info.dat -o /Users/nicholas/Library/Developer/Xcode/DerivedData/Pass_Manager-gaxgomamsmvhnodgaqpeoiuajsrc/Build/Products/Debug-iphonesimulator/Pass\ Manager.app/Pass\ Manager
ld: framework not found GooglePlus
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Even after I have added the GooglePlus.framework to my project, I still get a failed build:
My current project looks like this: http://i.imgur.com/VuOFxKp.png
What am I doing wrong?
Related
I get an error while I'm trying to archive a new version of my app and I cannot figurate out what it cames from and how to fix it.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The whole error here:
Ld /Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/app.app/app normal x86_64
cd /Users/adrianvidican/Downloads/MessengerX.1
export IPHONEOS_DEPLOYMENT_TARGET=9.3
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/Bolts -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/FBSDKCoreKit -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/FBSDKLoginKit -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/GTMOAuth2 -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/GTMSessionFetcher -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/IQAudioRecorderController -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/JSQMessagesViewController -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/JSQSystemSoundPlayer -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/MBProgressHUD -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/MGSwipeTableCell -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/ProgressHUD -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/RNCryptor-objc -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/RNGridMenu -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/Reachability -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/Realm -L/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/SCSiriWaveformView -L/Users/adrianvidican/Downloads/MessengerX.1/Pods/Realm/core -F/Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator -F/Users/adrianvidican/Downloads/MessengerX.1/Pods/Crashlytics/iOS -F/Users/adrianvidican/Downloads/MessengerX.1/Pods/Fabric/iOS -F/Users/adrianvidican/Downloads/MessengerX.1/Pods/FirebaseAnalytics/Frameworks -F/Users/adrianvidican/Downloads/MessengerX.1/Pods/FirebaseAuth/Frameworks -F/Users/adrianvidican/Downloads/MessengerX.1/Pods/FirebaseCore/Frameworks -F/Users/adrianvidican/Downloads/MessengerX.1/Pods/FirebaseDatabase/Frameworks -F/Users/adrianvidican/Downloads/MessengerX.1/Pods/FirebaseInstanceID/Frameworks -F/Users/adrianvidican/Downloads/MessengerX.1/Pods/FirebaseStorage/Frameworks -F/Users/adrianvidican/Downloads/MessengerX.1/Pods/GoogleSignIn/Frameworks -F/Users/adrianvidican/Downloads/MessengerX.1/Pods/OneSignal/iOS_SDK/Framework -F/Users/adrianvidican/Downloads/MessengerX.1/Pods/SinchRTC -filelist /Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Intermediates.noindex/app.build/Debug-iphonesimulator/app.build/Objects-normal/x86_64/app.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -mios-simulator-version-min=9.3 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Intermediates.noindex/app.build/Debug-iphonesimulator/app.build/Objects-normal/x86_64/app_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lBolts -lFBSDKCoreKit -lFBSDKLoginKit -lGTMOAuth2 -lGTMSessionFetcher -lGoogleToolboxForMac -lIQAudioRecorderController -lJSQMessagesViewController -lJSQSystemSoundPlayer -lMBProgressHUD -lMGSwipeTableCell -lProgressHUD -lRNCryptor-objc -lRNGridMenu -lReachability -lRealm -lSCSiriWaveformView -lc++ -licucore -lrealmcore-ios -lsqlite3 -lz -framework AVFoundation -framework Accelerate -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -framework CoreText -framework CoreVideo -framework Crashlytics -framework Fabric -framework FirebaseAnalytics -framework FirebaseAuth -framework FirebaseCore -framework FirebaseDatabase -framework FirebaseInstanceID -framework FirebaseStorage -framework Foundation -framework GLKit -framework GoogleSignIn -framework MapKit -framework MobileCoreServices -framework OneSignal -framework OpenGLES -framework QuartzCore -framework SafariServices -framework Security -framework Sinch -framework StoreKit -framework SystemConfiguration -framework UIKit -framework VideoToolbox -weak_framework Accounts -weak_framework AudioToolbox -weak_framework CoreGraphics -weak_framework CoreLocation -weak_framework Foundation -weak_framework QuartzCore -weak_framework Security -weak_framework Social -weak_framework UIKit -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Intermediates.noindex/app.build/Debug-iphonesimulator/app.build/app.app.xcent -framework PushKit -lPods-app -framework MessageUI -Xlinker -dependency_info -Xlinker /Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Intermediates.noindex/app.build/Debug-iphonesimulator/app.build/Objects-normal/x86_64/app_dependency_info.dat -o /Users/adrianvidican/Library/Developer/Xcode/DerivedData/app-dkxsgphkoxkxumbswtcudmwodhqz/Build/Products/Debug-iphonesimulator/app.app/app
ld: framework not found Sinch
clang: error: linker command failed with exit code 1 (use -v to see invocation)
you can try to trash everything that is in :
/Users/yourUsername/Library/Developer/Xcode/DerivedData
and rebuild. That worked for me.
Let's do the drill and try this:
Cmd + Shift + K
Cmd + Shift + Alt/Option + K
Build.
Sometimes you get this if you have converted your app to swift 4 and have dependancies. If you have added any pods or frameworks go to them and and in the build settings search for swift language and set them to 3.2.
It may be that your frameworks have not been updated to work with swift 4
Fixed mine by deleting all Sinch Frameworks in my projects and folders, deleting all contents in DerivedData, cleaning project.. downloading a new version from Sinch site and installing... Quit Xcode.. and restart Xcode. Run and build.
Get the following linking error trying to build against unity3d version 5.3.5f1
Ld /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Products/Debug-iphoneos/ar.app/ar normal arm64
cd "/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New Unity Project/build/app"
export IPHONEOS_DEPLOYMENT_TARGET=6.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.3.sdk -L/Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Products/Debug-iphoneos -L/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New\ Unity\ Project/build/app -L/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New\ Unity\ Project/build/app/Libraries -L/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New\ Unity\ Project/build/app/Libraries/KudanAR/Plugins/iOS -F/Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Products/Debug-iphoneos -filelist /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/ar.LinkFileList -Xlinker -map -Xlinker /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/ar-LinkMap-normal-arm64.txt -miphoneos-version-min=6.0 -dead_strip -Xlinker -no_deduplicate -fembed-bitcode-marker -weak_framework CoreMotion -weak-lSystem -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -liPhone-lib -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreMedia -weak_framework CoreMotion -framework CoreVideo -framework Foundation -weak_framework iAd -framework MediaPlayer -framework OpenAL -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -lKudanPlugin -Xlinker -dependency_info -Xlinker /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/arm64/ar_dependency_info.dat -o /Users/georgecook/Library/Developer/Xcode/DerivedData/Unity-iPhone-bfwjzdbspnhgyjblhswtougxoafx/Build/Products/Debug-iphoneos/ar.app/ar
ld: warning: object file (/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New Unity Project/build/app/Libraries/KudanAR/Plugins/iOS/libKudanPlugin.a(KARPlugin.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: '/Users/georgecook/Documents/tantaWowa/projects/dontRobMyPlanet/git/New Unity Project/build/app/Libraries/KudanAR/Plugins/iOS/libKudanPlugin.a(KARPlugin.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
In your error log, it's saying that Bitcode is not enabled for the framework.
You will need to disable Bitcode on your Xcode project in order for it to build.
Make sure to disable Bitcode on your project and your Targets. (https://wiki.kudan.eu/Building_the_app_-_iOS)
I recently updated my Xcode from 6.4 to 7, and have fixed all my code to be Swift 2 compatible.
I am having an issue: when building my project, the following error arises:
ld: framework not found -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried to alter the library search path in the build settings by adding:
$(PROJECT_DIR)
$(inherited)
but have not resulted in any progress.
This is the complete error note:
Ld
/Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Products/Debug-iphonesimulator/Appname\1.app/Appname\1
normal x86_64
cd "/Users/UserName/Desktop/Appname1 - iOS app/Appname1 - Swift 2 : xcode 7 - New/Appname1"
export IPHONEOS_DEPLOYMENT_TARGET=9.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk
-L/Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Products/Debug-iphonesimulator
-F/Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Products/Debug-iphonesimulator
-F. -FFacebookSDKStrings.bundle -FAppname\1 -FAppname\1Tests -FAppname\1UITests -FFacebookSDKStrings.bundle/Resources -FAppname\1/PNChart -FAppname\1/Appname_o.xcdatamodeld -FAppname\1/VoteLogDataBase.xcdatamodeld -FAppname\1/PNChart/PNBarChart -FAppname\1/PNChart/PNLineChart -FAppname\1/Appname_o.xcdatamodeld/Appname_o.xcdatamodel -FAppname\1/VoteLogDataBase.xcdatamodeld/VoteLogDataBase.xcdatamodel -filelist /Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Intermediates/Appname\1.build/Debug-iphonesimulator/Appname\1.build/Objects-normal/x86_64/Appname\1.LinkFileList
-Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker /Users/UserName/Desktop/Appname\1\ -\ iOS\ app/Appname\1\ -\ Swift\ 2\ :\ xcode\ 7\ -\ New/Appname\1
-mios-simulator-version-min=9.0 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -framework -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator
-Xlinker -add_ast_path -Xlinker /Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Intermediates/Appname\1.build/Debug-iphonesimulator/Appname\1.build/Objects-normal/x86_64/Appname_o.swiftmodule
-framework Accounts -framework AudioToolbox -framework ParseFacebookUtilsV4 -framework ParseFacebookUtils -framework
FBSDKShareKit -framework CFNetwork -framework ParseCrashReporting
-framework CoreData -framework FBAudienceNetwork -framework CoreGraphics -framework CoreLocation -framework ParseUI -lsqlite3.0
-framework FBSDKMessengerShareKit -lz -framework Bolts -framework FBSDKLoginKit -framework MobileCoreServices -framework QuartzCore
-framework ParseTwitterUtils -framework Security -framework Social -framework SystemConfiguration -framework FBSDKCoreKit -framework Twitter -framework Bolts -Xlinker -dependency_info -Xlinker
/Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Intermediates/Appname\1.build/Debug-iphonesimulator/Appname\1.build/Objects-normal/x86_64/Appname\1_dependency_info.dat
-o /Users/UserName/Library/Developer/Xcode/DerivedData/Appname\1-eekisechftoomidopihcmbkefaua/Build/Products/Debug-iphonesimulator/Appname\1.app/Appname\1
ld: framework not found
-L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
When I build my project targeting the simulator, it builds fine. However when I target my device running iOS 9, I receive the following error:
Linker command failed with exit code 1
Along with a Directory not found for option warning.
How can I solve this?
Edit : Full Error log
Ld /Users/gbs-mac/Library/Developer/Xcode/DerivedData/xxxxxxx-cbqfydingfpnbjblowdpmbcgwnmp/Build/Products/Debug-iphonesimulator/xxxxx\ xxxx.app/xxxxx\ xxxx normal x86_64
cd "/Users/gbs-mac/Desktop/Swapnil/xxxxx xxxxx"
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/gbs-mac/Library/Developer/Xcode/DerivedData/xxxxx-cbqfydingfpnbjblowdpmbcgwnmp/Build/Products/Debug-iphonesimulator -F/Users/gbs-mac/Library/Developer/Xcode/DerivedData/xxxxxx-cbqfydingfpnbjblowdpmbcgwnmp/Build/Products/Debug-iphonesimulator -F/Users/sumitghosh/Documents/facebookSDK -F/Users/gbs-mac/Desktop/Swapnil/xxxxxx\ xxxxx/FacebookSDK -F/Users/gbs-mac/Desktop/Swapnil/xxxxxx\ xxxxx/xxxxxx -xxxxx -F/Users/gbs-mac/Desktop/Swapnil/xxxxxx\ xxxxxx -filelist /Users/gbs-mac/Library/Developer/Xcode/DerivedData/xxxxxxxx-cbqfydingfpnbjblowdpmbcgwnmp/Build/Intermediates/Celebrity\ Face.build/Debug-iphonesimulator/xxxxxx\ xxxx.build/Objects-normal/x86_64/xxxxx\ xxxxx.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -mios-simulator-version-min=7.0 -bundle_loader /Users/gbs-mac/Library/Developer/Xcode/DerivedData/xxxxxxxx-cbqfydingfpnbjblowdpmbcgwnmp/Build/Products/Debug-iphonesimulator/MyExistingApp.app/MyExistingApp -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -framework StoreKit -framework EventKit -framework EventKitUI -framework CFNetwork -framework CoreTelephony -framework CoreMedia -framework CoreGraphics -framework SystemConfiguration -framework AVFoundation -framework AdSupport -framework AudioToolbox -framework iAd -framework Security -framework AssetsLibrary -framework MobileCoreServices -framework CoreLocation -framework MediaPlayer -framework MessageUI -framework QuartzCore -framework FBSDKShareKit -framework UIKit -framework GoogleMobileAds -framework FBSDKCoreKit -framework FBSDKLoginKit -Xlinker -dependency_info -Xlinker /Users/gbs-mac/Library/Developer/Xcode/DerivedData/xxxxxxxx-cbqfydingfpnbjblowdpmbcgwnmp/Build/Intermediates/xxxxxx\ xxxx.build/Debug-iphonesimulator/xxxxxxx\ xxxx.build/Objects-normal/x86_64/xxxxx\ Face_dependency_info.dat -o /Users/gbs-mac/Library/Developer/Xcode/DerivedData/xxxxxxxx-cbqfydingfpnbjblowdpmbcgwnmp/Build/Products/Debug-iphonesimulator/Celebrity\ Face.app/xxxxxx\ xxxxxx
ld: warning: directory not found for option '-F/Users/sumitghosh/Documents/facebookSDK'
ld: warning: directory not found for option '-F/Users/gbs-mac/Desktop/Swapnil/xxxxxxx xxxxxx/xxxxxx'
ld: warning: directory not found for option '-FFace'
ld: file not found: /Users/gbs-mac/Library/Developer/Xcode/DerivedData/xxxxxxx-cbqfydingfpnbjblowdpmbcgwnmp/Build/Products/Debug-iphonesimulator/MyExistingApp.app/MyExistingApp
clang: error: linker command failed with exit code 1 (use -v to see invocation)
In your project's build setting remove everything from Framework Search paths and Library Search paths. Clean and build.
In your menu bar, go to Product > Clean and click it. Then try rebuilding the project.
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)