Linker error exit code 1 - ios

I can usually figure out these issues but I just haven't been able to figure this one out, any help?
Ld /Users/nickporter/Library/Developer/Xcode/DerivedData/packageTracker-eacmyzjvxkncgxaugoxuxlnmpsgb/Build/Intermediates/packageTracker.build/Debug-iphoneos/packageTracker.build/Objects-normal/armv7/packageTracker normal armv7
cd /Users/nickporter/Developer/packageTracker
export IPHONEOS_DEPLOYMENT_TARGET=8.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 armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -L/Users/nickporter/Library/Developer/Xcode/DerivedData/packageTracker-eacmyzjvxkncgxaugoxuxlnmpsgb/Build/Products/Debug-iphoneos -F/Users/nickporter/Library/Developer/Xcode/DerivedData/packageTracker-eacmyzjvxkncgxaugoxuxlnmpsgb/Build/Products/Debug-iphoneos -F/Users/nickporter/Developer/packageTracker/packageTracker -filelist /Users/nickporter/Library/Developer/Xcode/DerivedData/packageTracker-eacmyzjvxkncgxaugoxuxlnmpsgb/Build/Intermediates/packageTracker.build/Debug-iphoneos/packageTracker.build/Objects-normal/armv7/packageTracker.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -ObjC -lAFNetworking -lAPTimeZones -lAftership-iOS-SDK -lCSNotificationView -lCTFeedback -lDateTools -lMCSwipeTableViewCell -lMMMaterialDesignSpinner -lMTDates -lNSDate+TimeAgo -lNSTimeZone-CountryCode -lRestKit -lSOCKit -lSVGeocoder -lSVPullToRefresh -lSVPulsingAnnotationView -lSVWebViewController -framework CFNetwork -framework CoreData -framework CoreGraphics -framework CoreLocation -framework MapKit -framework MessageUI -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit -lAFNetworking -lAPTimeZones -lAftership-iOS-SDK -lCSNotificationView -lCTFeedback -lDateTools -lMCSwipeTableViewCell -lMMMaterialDesignSpinner -lMTDates -lNSDate+TimeAgo -lNSTimeZone-CountryCode -lRestKit -lSOCKit -lSVGeocoder -lSVPullToRefresh -lSVPulsingAnnotationView -lSVWebViewController -framework CFNetwork -framework CoreData -framework CoreGraphics -framework CoreLocation -framework MapKit -framework MessageUI -framework MobileCoreServices -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit -fobjc-arc -fobjc-link-runtime -framework MobileCoreServices -framework QuartzCore -framework Accounts -framework Social -lsqlite3 -lz -framework SystemConfiguration -framework Parse -framework Security -framework CoreLocation -framework CoreGraphics -framework CFNetwork -framework AudioToolbox -framework CoreData -lPods-packageTracker -framework Bolts -Xlinker -dependency_info -Xlinker /Users/nickporter/Library/Developer/Xcode/DerivedData/packageTracker-eacmyzjvxkncgxaugoxuxlnmpsgb/Build/Intermediates/packageTracker.build/Debug-iphoneos/packageTracker.build/Objects-normal/armv7/packageTracker_dependency_info.dat -o /Users/nickporter/Library/Developer/Xcode/DerivedData/packageTracker-eacmyzjvxkncgxaugoxuxlnmpsgb/Build/Intermediates/packageTracker.build/Debug-iphoneos/packageTracker.build/Objects-normal/armv7/packageTracker
ld: library not found for -lAFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Related

Why am I getting this error involving `_kFIRLoggerInstanceID`?

I'm trying to upgrade our iOS app from Fabric Crashlytics 3.10.2 to Firebase Crashlytics 7.1.0. I've mostly gotten through the errors, and I've followed a few tutorials, and I've been googling around, but I can't get rid of this error when linking:
Ld /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Products/Debug-iphoneos/REDACTED.app/REDACTED normal (in target 'REDACTED' from project 'REDACTED')
cd /Users/ben_l/Software/REDACTED
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios13.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.2.sdk -L/Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Products/Debug-iphoneos -L/Users/ben_l/Software/REDACTED/Frameworks -F/Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Products/Debug-iphoneos -F/Users/ben_l/Software/REDACTED/Frameworks -F/Users/ben_l/Software/REDACTED/Frameworks/IntuneMAM -filelist /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Intermediates.noindex/REDACTED.build/Debug-iphoneos/REDACTED.build/Objects-normal/arm64/REDACTED.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Intermediates.noindex/REDACTED.build/Debug-iphoneos/REDACTED.build/Objects-normal/arm64/REDACTED_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Intermediates.noindex/REDACTED.build/Debug-iphoneos/REDACTED.build/Objects-normal/arm64/REDACTED.swiftmodule -lc++ -ObjC -DBUILDING_FOR_MOBILE -framework Security -framework SystemConfiguration -framework SystemConfiguration -framework CoreTelephony -framework UIKit -framework Security -framework QuartzCore -lz -framework StoreKit -lsqlite3 -lc++ -lz -framework REDACTED -framework AudioToolbox -framework FirebaseAnalytics -framework FIRAnalyticsConnector -framework GoogleAppMeasurement -framework CFNetwork -framework EVReflection -framework ImageIO -lsqlite3 -framework IntuneMAM -lc++ -licucore -framework LocalAuthentication -framework nanopb /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Products/Debug-iphoneos/REDACTED.framework/REDACTED -framework IntuneMAM -framework MediaPlayer -framework GoogleToolboxForMac -framework WebKit -framework REDACTED -framework QuartzCore -framework QuickLook -framework UIKit -framework Foundation -framework CoreGraphics -framework Security -framework MSAL -framework MessageUI -framework SystemConfiguration -framework CoreFoundation -framework MobileCoreServices -framework FirebaseNanoPB -framework AdSupport -framework FirebaseInstanceID -framework ReactiveObjC -framework CoreLocation -framework DSI -framework CoreTelephony -framework CoreData -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Intermediates.noindex/REDACTED.build/Debug-iphoneos/REDACTED.build/Objects-normal/arm64/REDACTED_dependency_info.dat -o /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Products/Debug-iphoneos/REDACTED.app/REDACTED -Xlinker -add_ast_path -Xlinker /Users/ben_l/Library/Developer/Xcode/DerivedData/REDACTED-gzomtisvvdgyztddvpqujqxqsmjs/Build/Intermediates.noindex/Eureka.build/Debug-iphoneos/Eureka.build/Objects-normal/arm64/Eureka.swiftmodule
Undefined symbols for architecture arm64:
"_kFIRLoggerInstanceID", referenced from:
-[FIRInstanceIDLogger logFuncDebug:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger_0c879e312576b1b79740d2f19907597f.o)
-[FIRInstanceIDLogger logFuncInfo:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger_0c879e312576b1b79740d2f19907597f.o)
-[FIRInstanceIDLogger logFuncNotice:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger_0c879e312576b1b79740d2f19907597f.o)
-[FIRInstanceIDLogger logFuncWarning:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger_0c879e312576b1b79740d2f19907597f.o)
-[FIRInstanceIDLogger logFuncError:messageCode:msg:] in FirebaseInstanceID(FIRInstanceIDLogger_0c879e312576b1b79740d2f19907597f.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Does anyone here know how to get past this?
According to the errors, you are missing the components for the platform ARM64.
I would install all the development libraries, VM, etc... for ARM64 first.
Cheers.

Xcode 10b5 - duplicate symbol linker error, can't compile with Crashlytics

I'm trying to compile my project, which has both Firebase, Crashlytics/Fabric, and a bunch of other stuff, with Xcode 10 beta 5.
It fails during linking with these errors:
Ld /Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/appname.app/appname normal arm64 (in target: appname)
cd /Users/Username/iPhone-dev/appname
export IPHONEOS_DEPLOYMENT_TARGET=9.0
/Users/Username/Downloads/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Users/Username/Downloads/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk -L/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/AFNetworking -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/Actions -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/AppAuth -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/Bluepeer -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/Bolts -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/CocoaAsyncSocket -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/CocoaLumberjack -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/Color-Picker-for-iOS -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/DNPWPSPrinter -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/DataCompression -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/EOSFTPServer -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/FBSDKCoreKit -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/FBSDKLoginKit -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/FastttCamera -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/FirebaseAuth -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/FirebaseCore -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/FirebaseDatabase -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/FirebaseStorage -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/GTMAppAuth -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/GTMSessionFetcher -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/Gloss -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/GoldRaccoon -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/GoogleToolboxForMac -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/HHServices -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/JPSVolumeButtonHandler -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/M13BadgeView -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/ObjectiveDropboxOfficial -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/PhoneNumberKit -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/Protobuf -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/TPCircularBuffer -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/leveldb-library -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/nanopb -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/upnpx -F/Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/xaphodObjCUtils -F/Users/Username/iPhone-dev/appname/Pods/Crashlytics/iOS -F/Users/Username/iPhone-dev/appname/Pods/Fabric/iOS -F/Users/Username/iPhone-dev/appname/Pods/FirebaseABTesting/Frameworks -F/Users/Username/iPhone-dev/appname/Pods/FirebaseAnalytics/Frameworks -F/Users/Username/iPhone-dev/appname/Pods/FirebaseDynamicLinks/Frameworks -F/Users/Username/iPhone-dev/appname/Pods/FirebaseInstanceID/Frameworks -F/Users/Username/iPhone-dev/appname/Pods/FirebaseRemoteConfig/Frameworks -F/Users/Username/iPhone-dev/appname/Pods/TwitterCore/iOS -F/Users/Username/iPhone-dev/appname/Pods/TwitterKit/iOS -F/Users/Username/iPhone-dev/appname/cascablecore-binaries/Binaries/iOS -filelist /Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Intermediates.noindex/appname.build/Debug-iphoneos/appname.build/Objects-normal/arm64/appname.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -Xlinker -rpath -Xlinker #executable_path/Frameworks -miphoneos-version-min=9.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Intermediates.noindex/appname.build/Debug-iphoneos/appname.build/Objects-normal/arm64/appname_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -L/Users/Username/Downloads/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Xlinker -add_ast_path -Xlinker /Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Intermediates.noindex/appname.build/Debug-iphoneos/appname.build/Objects-normal/arm64/appname.swiftmodule -ObjC -lc++ -licucore -lsqlite3 -lz -framework AFNetworking -framework AVFoundation -framework Accounts -framework Actions -framework AppAuth -framework AssetsLibrary -framework Bluepeer -framework Bolts -framework CFNetwork -framework CocoaAsyncSocket -framework CocoaLumberjack -framework Color_Picker_for_iOS -framework CoreData -framework CoreGraphics -framework CoreMedia -framework CoreText -framework Crashlytics -framework DNPWPSPrinter -framework DataCompression -framework EOSFTPServer -framework FBSDKCoreKit -framework FBSDKLoginKit -framework Fabric -framework FastttCamera -framework FirebaseABTesting -framework FirebaseAnalytics -framework FirebaseAuth -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseDatabase -framework FirebaseDynamicLinks -framework FirebaseInstanceID -framework FirebaseNanoPB -framework FirebaseRemoteConfig -framework FirebaseStorage -framework Foundation -framework GTMAppAuth -framework GTMSessionFetcher -framework Gloss -framework GoldRaccoon -framework GoogleToolboxForMac -framework HHServices -framework JPSVolumeButtonHandler -framework M13BadgeView -framework MessageUI -framework MobileCoreServices -framework ObjectiveDropboxOfficial -framework PhoneNumberKit -framework Protobuf -framework QuartzCore -framework SafariServices -framework Security -framework Social -framework StoreKit -framework SystemConfiguration -framework TPCircularBuffer -framework TwitterCore -framework TwitterKit -framework UIKit -framework leveldb -framework nanopb -framework upnpx -framework xaphodObjCUtils -weak_framework WebKit -ObjC -lc++ -licucore -lsqlite3 -lz -lctemplate-ios -letpan-ios -lxml2 -lsasl2 -liconv -ltidy -lz -lc++ -lresolv -stdlib=libc++ -ObjC /Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/libMailCore-ios.a -framework SafariServices -framework CascableCore -framework Security -framework CFNetwork -framework MessageUI -framework StoreKit -framework GameKit -framework StopKit -framework Pods_appname -Xlinker -dependency_info -Xlinker /Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Intermediates.noindex/appname.build/Debug-iphoneos/appname.build/Objects-normal/arm64/appname_dependency_info.dat -o /Users/Username/Library/Developer/Xcode/DerivedData/appname-lastnamepjksdzfewpftlvqzuglaxplu/Build/Products/Debug-iphoneos/appname.app/appname
duplicate symbol l086 in:
/Users/Username/iPhone-dev/appname/Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics(CLSFileManager.o)
/Users/Username/iPhone-dev/appname/Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics(CLSInternalReport.o)
duplicate symbol l087 in:
/Users/Username/iPhone-dev/appname/Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics(CLSFileManager.o)
/Users/Username/iPhone-dev/appname/Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics(CLSInternalReport.o)
duplicate symbol l088 in:
/Users/Username/iPhone-dev/appname/Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics(CLSSettings.o)
/Users/Username/iPhone-dev/appname/Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics(CLSInternalReport.o)
....<many more omitted>
What's the trick to get Google Fabric / Crashlytics working with Xcode 10?
Edit: Thanks to all who have commented so far. What i've tried so far:
tried reinstalling the pods / clearing pod caches
tried cleaning build folder, then restarting xcode
tried playing with -ObjC linker flag. It does indeed look like this flag has something to do with the issue, but unfortunately I need this flag active as I use objective-c frameworks that have static categories on classes
Fixed for me with Xcode 10b6 (released this morning)!

clang: error: no such file or directory: 'dynamic_lookup' clang: error: no such file or directory: 'suppress'

When I added the ParseUI lib in my Podfile, after installing pod, I have this error:
Ld /Users/dvs/Library/Developer/Xcode/DerivedData/CashCourier-ahmlxuauwynijtcqhgxogvibozet/Build/Products/Debug-iphonesimulator/CashCourier.app/CashCourier normal x86_64
cd /Users/dvs/Desktop/Workspace/cash-ios
export IPHONEOS_DEPLOYMENT_TARGET=8.2
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 x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk -L/Users/dvs/Library/Developer/Xcode/DerivedData/CashCourier-ahmlxuauwynijtcqhgxogvibozet/Build/Products/Debug-iphonesimulator -L/Users/dvs/Desktop/Workspace/cash-ios/Pods/Parse -L/Users/dvs/Desktop/Workspace/cash-ios/Pods/TwilioSDK/Libraries -F/Users/dvs/Library/Developer/Xcode/DerivedData/CashCourier-ahmlxuauwynijtcqhgxogvibozet/Build/Products/Debug-iphonesimulator -F/Users/dvs/Desktop/Workspace/cash-ios/Pods/Testfire/Testfire -filelist /Users/dvs/Library/Developer/Xcode/DerivedData/CashCourier-ahmlxuauwynijtcqhgxogvibozet/Build/Intermediates/CashCourier.build/Debug-iphonesimulator/CashCourier.build/Objects-normal/x86_64/CashCourier.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -objc_abi_version -Xlinker 2 -ObjC -read_only_relocs -undefined dynamic_lookup suppress -lBolts -lJVFloatLabeledTextField -lParse -lParseLib -lParseUI -lTwilioClient -lcrypto -llibPhoneNumber-iOS -lsqlite3 -lssl -lz -framework AVFoundation -framework Accelerate -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreTelephony -framework CoreVideo -framework Foundation -framework MobileCoreServices -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework Testfire -framework UIKit -weak_framework Accounts -weak_framework Social -read_only_relocs -lBolts -lJVFloatLabeledTextField -lParse -lParseLib -lParseUI -lTwilioClient -lcrypto -llibPhoneNumber-iOS -lsqlite3 -lssl -lz -framework AVFoundation -framework Accelerate -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreLocation -framework CoreTelephony -framework CoreVideo -framework Foundation -framework MobileCoreServices -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework Testfire -framework UIKit -weak_framework Accounts -weak_framework Social -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=8.2 -lPods -Xlinker -dependency_info -Xlinker /Users/dvs/Library/Developer/Xcode/DerivedData/CashCourier-ahmlxuauwynijtcqhgxogvibozet/Build/Intermediates/CashCourier.build/Debug-iphonesimulator/CashCourier.build/Objects-normal/x86_64/CashCourier_dependency_info.dat -o /Users/dvs/Library/Developer/Xcode/DerivedData/CashCourier-ahmlxuauwynijtcqhgxogvibozet/Build/Products/Debug-iphonesimulator/CashCourier.app/CashCourier
clang: error: no such file or directory: 'dynamic_lookup'
clang: error: no such file or directory: 'suppress'
I tried to remove dynamic_lookup and suppress in my build settings, but it still gives the same error.
I solved this by modifying the Pods/Pods.debug.xcconfig file (and the same for the Pods.release.xcconfig). Somehow, the generated xcconfig files are incorrect.
From:
-read_only_relocs -undefined dynamic_lookup suppress
To:
-read_only_relocs suppress -undefined dynamic_lookup

How to fix Apple Mach -O-linker warning Directory is not found error

I am facing this warning in Xcode 5.1.
How to fix this error
Here the Error is Showing like...
Ld /Users/riz/Library/Developer/Xcode/DerivedData/SedioiOS-dfvlolozvfewogempmjncnwobvbw/Build/Products/Debug-iphonesimulator/SedioiOS.app/SedioiOS normal i386
cd /Users/riz/Desktop/vine-clone-iphone/SedioiOS
export IPHONEOS_DEPLOYMENT_TARGET=6.1
export PATH="/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode 2.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode\ 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode\ 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/riz/Library/Developer/Xcode/DerivedData/SedioiOS-dfvlolozvfewogempmjncnwobvbw/Build/Products/Debug-iphonesimulator -F/Users/riz/Library/Developer/Xcode/DerivedData/SedioiOS-dfvlolozvfewogempmjncnwobvbw/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist /Users/riz/Library/Developer/Xcode/DerivedData/SedioiOS-dfvlolozvfewogempmjncnwobvbw/Build/Intermediates/SedioiOS.build/Debug-iphonesimulator/SedioiOS.build/Objects-normal/i386/SedioiOS.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework AVFoundation -framework CoreLocation -framework MapKit -framework MessageUI -lz.1.2.5 -lz -framework CoreMedia -framework CoreAudio -framework CoreVideo -framework MobileCoreServices -framework ImageIO -framework AssetsLibrary -framework MediaPlayer -framework Security -framework QuartzCore -framework CFNetwork -framework SystemConfiguration -framework UIKit -framework Foundation -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/riz/Library/Developer/Xcode/DerivedData/SedioiOS-dfvlolozvfewogempmjncnwobvbw/Build/Intermediates/SedioiOS.build/Debug-iphonesimulator/SedioiOS.build/Objects-normal/i386/SedioiOS_dependency_info.dat -o /Users/riz/Library/Developer/Xcode/DerivedData/SedioiOS-dfvlolozvfewogempmjncnwobvbw/Build/Products/Debug-iphonesimulator/SedioiOS.app/SedioiOS
----------
`ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Library/Frameworks'`
Add this $(DEVELOPER_FRAMEWORKS_DIR) on Framework Search Paths in Build Settings..
Check the Screenshot Image.. maybe its helpful to you..
then clean,build and run..

error ld: file not found: -fobjc-arc

I want to use MailCore2 in my project.When I try build my project, I get an error:
Ld /Users/yuzhijie/Library/Developer/Xcode/DerivedData/flowofficial-evjqsgekfjldlzhillqlfkxvdneh/Build/Intermediates/flowofficial.build/Debug-iphoneos/flowofficial.build/Objects-normal/armv7/flowofficial normal armv7
cd /Users/yuzhijie/Desktop/flowofficial
export IPHONEOS_DEPLOYMENT_TARGET=6.1
export PATH="/Applications/Xcode6-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode6-Beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode6-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -L/Users/yuzhijie/Library/Developer/Xcode/DerivedData/flowofficial-evjqsgekfjldlzhillqlfkxvdneh/Build/Products/Debug-iphoneos -L/Users/yuzhijie/Desktop/flowofficial/flowofficial/Library/a_fiels -L/Users/yuzhijie/Desktop/flowofficial/flowofficial/Library -L/Users/yuzhijie/Desktop/flowofficial -L/Users/yuzhijie/Desktop/flowofficial/flowofficial/Library/ShareSdk/libWeiboSDK -L/Users/yuzhijie/Desktop/flowofficial/flowofficial/Library/ShareSdk/libWeChatSDK -F/Users/yuzhijie/Library/Developer/Xcode/DerivedData/flowofficial-evjqsgekfjldlzhillqlfkxvdneh/Build/Products/Debug-iphoneos -F/Users/yuzhijie/Desktop/flowofficial/flowofficial/Library -F/Users/yuzhijie/Desktop/flowofficial/flowofficial/Library/ifly -F/Users/yuzhijie/Desktop/flowofficial/flowofficial/Library/ShareSdk/libRenRenSDK -F/Users/yuzhijie/Desktop/flowofficial/flowofficial/Library/ShareSdk/libQQSDK -F/Users/yuzhijie/Desktop/flowofficial -filelist /Users/yuzhijie/Library/Developer/Xcode/DerivedData/flowofficial-evjqsgekfjldlzhillqlfkxvdneh/Build/Intermediates/flowofficial.build/Debug-iphoneos/flowofficial.build/Objects-normal/armv7/flowofficial.LinkFileList -dead_strip -lctemplate-ios -letpan-ios -licudata -licui18n -licuuc -lxml2 -lsasl2 -liconv -ltidy -lstdc++ -lz -licucore -ObjC -force_load -fobjc-arc -fobjc-link-runtime -stdlib=libc++ -miphoneos-version-min=6.1 /Users/yuzhijie/Library/Developer/Xcode/DerivedData/flowofficial-evjqsgekfjldlzhillqlfkxvdneh/Build/Products/Debug-iphoneos/libMailCore-ios.a -framework CoreBluetooth -framework ImageIO -framework MAMapKit -lidn -framework QuartzCore -lstdc++ -lsqlite3 -liconv -framework TencentOpenAPI -framework RennSDK -lopencore-amrwb -framework iflyMSC -framework MediaPlayer -lWeChatSDK -framework AMapSearchKit -framework MessageUI -framework AddressBook -framework AddressBookUI -framework CoreTelephony -framework CoreMotion -framework Security -lstdc++.6.0.9 -framework OpenGLES -lopencore-amrnb -framework SystemConfiguration -framework CoreLocation -framework CFNetwork -framework CoreData -framework AudioToolbox -framework AVFoundation -lWeiboSDK -framework MobileCoreServices -lresolv -lz -lmp3lame -lxml2 -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/yuzhijie/Library/Developer/Xcode/DerivedData/flowofficial-evjqsgekfjldlzhillqlfkxvdneh/Build/Intermediates/flowofficial.build/Debug-iphoneos/flowofficial.build/Objects-normal/armv7/flowofficial_dependency_info.dat -o /Users/yuzhijie/Library/Developer/Xcode/DerivedData/flowofficial-evjqsgekfjldlzhillqlfkxvdneh/Build/Intermediates/flowofficial.build/Debug-iphoneos/flowofficial.build/Objects-normal/armv7/flowofficial
ld: file not found: -fobjc-arc
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Xcode 6 iOS 8
Thanks very much!!!

Resources