"Linker command failed with exit code 1" (Xcode 7, targeting iOS 9) - ios

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.

Related

clang: error: linker command failed with exit code 1 (use -v to see invocation) Xcode 10.2.1

I know this question has been asked a lot of times and there are many probable answer, but none of them helped me to get over my problem.
Here some possible solution's which I am trying out.
Solution1 Solution2 and many suggested solutions on the site.
I am also using Notification service & Notification Content Extension in my project.Also I am using firebase for push notifications.
From the time since I have integrated .xcconfig files to manage staging and production configuarations using This tutorial all the problems have started.
Showing Recent Messages
Ld /Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/NotificationContent.appex/NotificationContent normal x86_64
cd /Users/vipulthaware/HealthDekho/Projects/B2C/App/Code
export IPHONEOS_DEPLOYMENT_TARGET=12.2
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 -Xlinker -rpath -Xlinker /usr/lib/swift -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk -L/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator -L/Users/vipulthaware/HealthDekho/Projects/B2C/App/Code/Pods/FreshchatSDK/FreshchatSDK -L/Users/vipulthaware/HealthDekho/Projects/B2C/App/Code/Pods/FreshchatSDK -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/AMPopTip -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/AWSCore -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/AWSS3 -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/Alamofire -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/AlamofireSwiftyJSON -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/Arcane -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/BSErrorMessageView -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/Bolts -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/Cosmos -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/CreditCardValidator -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/DynamicBlurView -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/FBSDKCoreKit -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/FeedKit -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/FirebaseCore -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/FirebaseDynamicLinks -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/FirebaseMessaging -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/GoogleUtilities -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/IQKeyboardManagerSwift -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/ImageSlideshow -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/JVFloatLabeledTextField -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/KVNProgress -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/MarqueeLabel -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/Moya -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/NKVPhonePicker -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/OpalImagePicker -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/PopupDialog -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/Protobuf -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/RadioButton -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/ReachabilitySwift -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/Result -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/SBTickerView -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/SDWebImage -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/SVProgressHUD -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/Shimmer -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/SwiftValidator -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/SwiftyJSON -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/UPCarouselFlowLayout -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/ViewPager-Swift -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/WMGaugeView -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/libwebp -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/lottie-ios -F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/nanopb -F/Users/vipulthaware/HealthDekho/Projects/B2C/App/Code/Pods/AppsFlyerFramework -F/Users/vipulthaware/HealthDekho/Projects/B2C/App/Code/Pods/Crashlytics/iOS -F/Users/vipulthaware/HealthDekho/Projects/B2C/App/Code/Pods/FBSDKMarketingKit -F/Users/vipulthaware/HealthDekho/Projects/B2C/App/Code/Pods/Fabric/iOS -F/Users/vipulthaware/HealthDekho/Projects/B2C/App/Code/Pods/FirebaseAnalytics/Frameworks -F/Users/vipulthaware/HealthDekho/Projects/B2C/App/Code/Pods/FirebaseInstanceID/Frameworks -F/Users/vipulthaware/HealthDekho/Projects/B2C/App/Code/Pods/GoogleAppMeasurement/Frameworks -filelist /Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Intermediates.noindex/B2C.build/Debug-iphonesimulator/NotificationContent.build/Objects-normal/x86_64/NotificationContent.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #executable_path/../../Frameworks -mios-simulator-version-min=12.2 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Intermediates.noindex/B2C.build/Debug-iphonesimulator/NotificationContent.build/Objects-normal/x86_64/NotificationContent_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fapplication-extension -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Intermediates.noindex/B2C.build/Debug-iphonesimulator/NotificationContent.build/Objects-normal/x86_64/NotificationContent.swiftmodule -ObjC -lFDFreshchatSDK -lc++ -lsqlite3 -lz -framework AMPopTip -framework AVFoundation -framework AWSCore -framework AWSS3 -framework Accelerate -framework AdSupport -framework Alamofire -framework AlamofireSwiftyJSON -framework AppsFlyerLib -framework Arcane -framework AssetsLibrary -framework AudioToolbox -framework BSErrorMessageView -framework Bolts -framework CFNetwork -framework CoreData -framework CoreGraphics -framework CoreMedia -framework CoreTelephony -framework Cosmos -framework Crashlytics -framework CreditCardValidator -framework DynamicBlurView -framework FBSDKCoreKit -framework FBSDKMarketingKit -framework FIRAnalyticsConnector -framework Fabric -framework FeedKit -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseDynamicLinks -framework FirebaseInstanceID -framework FirebaseMessaging -framework Foundation -framework GLKit -framework GoogleAppMeasurement -framework GoogleUtilities -framework IQKeyboardManagerSwift -framework ImageIO -framework ImageSlideshow -framework JVFloatLabeledTextField -framework KVNProgress -framework Lottie -framework MarqueeLabel -framework MessageUI -framework Moya -framework NKVPhonePicker -framework OpalImagePicker -framework Photos -framework PopupDialog -framework Protobuf -framework QuartzCore -framework RadioButton -framework ReachabilitySwift -framework Result -framework SBTickerView -framework SDWebImage -framework SVProgressHUD -framework Security -framework Shimmer -framework StoreKit -framework SwiftValidator -framework SwiftyJSON -framework SystemConfiguration -framework UIKit -framework UPCarouselFlowLayout -framework ViewPager_Swift -framework WMGaugeView -framework iAd -framework libwebp -framework nanopb -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 -weak_framework WebKit -e _NSExtensionMain -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Intermediates.noindex/B2C.build/Debug-iphonesimulator/NotificationContent.build/NotificationContent.appex-Simulated.xcent -framework UserNotificationsUI -framework UserNotifications -Xlinker -dependency_info -Xlinker /Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Intermediates.noindex/B2C.build/Debug-iphonesimulator/NotificationContent.build/Objects-normal/x86_64/NotificationContent_dependency_info.dat -o /Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/NotificationContent.appex/NotificationContent
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/AWSCore'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/AWSS3'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/Bolts'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/FBSDKCoreKit'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/FeedKit'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/FirebaseCore'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/FirebaseDynamicLinks'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/FirebaseMessaging'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/GoogleUtilities'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/JVFloatLabeledTextField'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/Moya'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/OpalImagePicker'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/Protobuf'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/RadioButton'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/SBTickerView'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/SDWebImage'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/SVProgressHUD'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/UPCarouselFlowLayout'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/ViewPager-Swift'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/WMGaugeView'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/libwebp'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/lottie-ios'
ld: warning: directory not found for option '-F/Users/vipulthaware/Library/Developer/Xcode/DerivedData/B2C-bqqgcxfxnnaoajdltkdbsssioail/Build/Products/Debug-iphonesimulator/nanopb'
ld: framework not found AMPopTip
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please Suggest what is the possible solution or have I done any thing wrong,
please let me know if any extra explanation or detail is required my side
Follow these steps to find a solution.
From the logs I have posted above one thing is clear that the problem in my case was with Notification Content & Notification Service Extension targets
So following This Link based on -L or -R flag you are getting in the logs,
Delete the paths added for Library Search Path or Framework Search Paths as may be required.
For my case I had to do this for Notification Service & Notification Content Extension targets
This may cause more error where you might start getting errors for other framework or search path for same target (which was the case with me),
If such thing happen for any Target then try to delete the Other Linker Flags for the targets you are getting the error.
In my case deleting the Library Search Path & Framework Search Paths as well as Other Linker Flags Did the trick for me.

Apache Cordova - iOS: ld: framework not found GooglePlus

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?

Building issue after migration to Xcode 7: ld: framework not found -L/

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)

Linker command failed with exit code 1......ios project error

I am working with an XCode project which was fine yesterday but today without any change in code I am getting following compile error.
Any suggestion? How can i fix it?
Ld DerivedData/OEiPhone/Build/Products/Debug-iphonesimulator/Project\ Sounds.app/Project\ Sounds normal i386
cd "/Users/admin/Desktop/App 2"
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/iPhoneSimulator8.2.sdk -L/Users/admin/Desktop/App\ 2/DerivedData/OEiPhone/Build/Products/Debug-iphonesimulator -L/Users/admin/Desktop/App\ 2/Classes/ListControl/OELib -L/Users/admin/Desktop/App\ 2/../../../iPad/API\'s/Google\ Analytics\ SDK/Library -L/Users/admin/Desktop/App\ 2/Classes/Analytic -LLibrary -F/Users/admin/Desktop/App\ 2/DerivedData/OEiPhone/Build/Products/Debug-iphonesimulator -filelist /Users/admin/Desktop/App\ 2/DerivedData/OEiPhone/Build/Intermediates/OEiPhone.build/Debug-iphonesimulator/Project\ Sounds.build/Objects-normal/i386/Project\ Sounds.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -licucore -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework CoreMedia -framework AVFoundation -framework NewsstandKit -lsqlite3.0 -lz.1.2.5 -framework Foundation -framework UIKit -framework CoreGraphics -framework CFNetwork -framework QuartzCore -framework SystemConfiguration -lGoogleAnalytics_NoThumb -framework MediaPlayer -framework MessageUI -framework OpenGLES -framework CoreText -framework CoreLocation -framework MapKit -framework StoreKit -lxml2 -lGoogleAnalytics -Xlinker -dependency_info -Xlinker /Users/admin/Desktop/App\ 2/DerivedData/OEiPhone/Build/Intermediates/OEiPhone.build/Debug-iphonesimulator/Project\ Sounds.build/Objects-normal/i386/Project\ Sounds_dependency_info.dat -o /Users/admin/Desktop/App\ 2/DerivedData/OEiPhone/Build/Products/Debug-iphonesimulator/Project\ Sounds.app/Project\ Sounds
ld: warning: directory not found for option '-L/Users/admin/Desktop/App 2/Classes/ListControl/OELib'
ld: warning: directory not found for option '-L/Users/admin/Desktop/App 2/../../../iPad/API's/Google Analytics SDK/Library'
ld: warning: directory not found for option '-L/Users/admin/Desktop/App 2/Classes/Analytic'
ld: warning: directory not found for option '-LLibrary'
ld: library not found for -lGoogleAnalytics_NoThumb
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I had the same problem.
Make sure to remove the library in your
Project -> Build Phases -> Link Binary With Libraries
if you removed it or add it if it's missing.
This path
/Users/admin/Desktop/App 2/../../../iPad/API's/Google Analytics SDK/Library
Is pointing at a Library on your desktop. Is that library still there, or did you move/delete it?

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