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.
Related
After I updated my MBP to 10.15.4 and Xcode 11.4.1 , the build error disappear.
Still no idea.
My project runs well in Xcode 11.3.1. When I update Xcode to 11.4, I got this error when build.
I deleted derived data and rebuild, the error still exist.
I have no idea where is wrong, can anybody give me some suggestion?
Here is some infomation about my project:
Using both Objective-C and Swift
Using Cocoapods (v1.9.1)
More build out below:
Ld /Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/Mars.app/Mars normal x86_64 (in target 'Mars' from project 'Mars')
cd /Users/haizi/Mars/Mars_Repo/Mars
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios10.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/AFNetworking -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/AMKLocaleDescription -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/APNumberPad -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/CYLTabBarController -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/ClusterKit -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/CocoaLumberjack -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/DAAlertController -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/DZNEmptyDataSet -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/FDFullscreenPopGesture -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/GPUImage -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/GVUserDefaults -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/IGListDiffKit -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/IGListKit -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/IQKeyboardManager -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/JXCategoryView -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/LEEAlert -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/MBProgressHUD -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/MGSwipeTableCell -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/MJRefresh -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/Masonry -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/MessageThrottle -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/QMUIKit -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/Qiniu -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/Realm -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/SDWebImage -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/SDWebImageWebPCoder -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/SVProgressHUD -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/SensorsAnalyticsSDK -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/YHExplorer -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/YH_Analytics -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/YH_AntiCrash -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/YH_Lumberjack -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/YYKit -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/hpple -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/libwebp -L/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/pop -L/Users/haizi/Mars/Mars_Repo/Mars/Pods/BaiduMapKit/BaiduMapKit/thirdlibs -L/Users/haizi/Mars/Mars_Repo/Mars/Pods/Realm/core -L/Users/haizi/Mars/Mars_Repo/Mars/Pods/WechatOpenSDK/OpenSDK1.8.7 -L/Users/haizi/Mars/Mars_Repo/Mars/Pods/Weibo_SDK/libWeiboSDK -L/Users/haizi/Mars/Mars_Repo/Mars/Mars/Dependencies/TXUploadSDK/COSSDK -F/Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator -F/Users/haizi/Mars/Mars_Repo/Mars/Pods/BMKLocationKit/framework -F/Users/haizi/Mars/Mars_Repo/Mars/Pods/BaiduMapKit/BaiduMapKit -F/Users/haizi/Mars/Mars_Repo/Mars/Pods/Bugly -F/Users/haizi/Mars/Mars_Repo/Mars/Pods/LookinServer -F/Users/haizi/Mars/Mars_Repo/Mars/Pods/Mapbox-iOS-SDK/dynamic -F/Users/haizi/Mars/Mars_Repo/Mars/Pods/UMCAnalytics -F/Users/haizi/Mars/Mars_Repo/Mars/Pods/UMCCommon -F/Users/haizi/Mars/Mars_Repo/Mars/Pods/WoodPeckeriOS -F/Users/haizi/Mars/Mars_Repo/Mars -F/Users/haizi/Mars/Mars_Repo/Mars/Mars/Dependencies/QQSDK -F/Users/haizi/Mars/Mars_Repo/Mars/Mars/Player -F/Users/haizi/Mars/Mars_Repo/Mars/Mars/Dependencies/TXVideoSDK -F/Users/haizi/Mars/Mars_Repo/Mars/Mars/Dependencies/TXUploadSDK/COSSDK -F/Users/haizi/Mars/Mars_Repo/Mars/Mars/Dependencies -F/Users/haizi/Mars/Mars_Repo/Mars/Pods -filelist /Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Intermediates.noindex/Mars.build/Debug-iphonesimulator/Mars.build/Objects-normal/x86_64/Mars.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -Xlinker -rpath -Xlinker #executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Intermediates.noindex/Mars.build/Debug-iphonesimulator/Mars.build/Objects-normal/x86_64/Mars_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -flto=thin -Xlinker -cache_path_lto -Xlinker /Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Intermediates.noindex/LTOCache -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Intermediates.noindex/Mars.build/Debug-iphonesimulator/Mars.build/Objects-normal/x86_64/Mars.swiftmodule -ObjC -lAFNetworking -lAMKLocaleDescription -lAPNumberPad -lCYLTabBarController -lClusterKit -lCocoaLumberjack -lDAAlertController -lDZNEmptyDataSet -lFDFullscreenPopGesture -lGPUImage -lGVUserDefaults -lIGListDiffKit -lIGListKit -lIQKeyboardManager -lJXCategoryView -lLEEAlert -lMBProgressHUD -lMGSwipeTableCell -lMJRefresh -lMasonry -lMessageThrottle -lQMUIKit -lQiniu -lRealm -lSDWebImage -lSDWebImageWebPCoder -lSVProgressHUD -lSensorsAnalyticsSDK -lWeChatSDK -lWeiboSDK -lYHExplorer -lYH_Analytics -lYH_AntiCrash -lYH_Lumberjack -lYYKit -lc++ -lcrypto -lhpple -licucore -llibwebp -lpop -lrealmcore-ios -lsqlite3 -lsqlite3.0 -lssl -lxml2 -lz -framework AVFoundation -framework Accelerate -framework AdSupport -framework AssetsLibrary -framework AudioToolbox -framework BMKLocationKit -framework BaiduMapAPI_Base -framework BaiduMapAPI_Cloud -framework BaiduMapAPI_Map -framework BaiduMapAPI_Search -framework BaiduMapAPI_Utils -framework Bugly -framework CoreFoundation -framework CoreGraphics -framework CoreImage -framework CoreLocation -framework CoreMedia -framework CoreMotion -framework CoreTelephony -framework CoreText -framework Foundation -framework ImageIO -framework LookinServer -framework MapKit -framework Mapbox -framework MobileCoreServices -framework OpenGLES -framework Photos -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit -framework UMAnalytics -framework UMCommon -framework WebKit -framework WoodPeckeriOS -ObjC -fuse-ld=/usr/local/bin/zld -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Intermediates.noindex/Mars.build/Debug-iphonesimulator/Mars.build/Mars.app-Simulated.xcent -framework Accelerate -lsqlite3 -lc++ -framework QCloudCore -framework QCloudCOSXML -framework CoreData -framework SystemConfiguration -framework Security -framework VideoToolbox -framework AudioToolbox -framework CoreMedia -liconv -lz -lbz2 -framework SGPlatform -framework Photos -framework AVFoundation -lresolv -framework CoreMotion -framework CFNetwork -framework CoreTelephony -framework CoreGraphics -framework QuartzCore -framework TXLiteAVSDK_UGC -lmtasdk -lsqlite3.0 -framework TencentOpenAPI -framework SGPlayer -lPods-abstract_Mars-Mars -Xlinker -dependency_info -Xlinker /Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Intermediates.noindex/Mars.build/Debug-iphonesimulator/Mars.build/Objects-normal/x86_64/Mars_dependency_info.dat -o /Users/haizi/Library/Developer/Xcode/DerivedData/Mars-erthhpbohmypyefsgyzfzkwzeakm/Build/Products/Debug-iphonesimulator/Mars.app/Mars
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)!
I tried to install a pods command, I got this error,
Ideas on how to fix it?
Ld /Users/ericdavila/Library/Developer/Xcode/DerivedData/LitHouse-evpsrrilluhozfglzlevnroqodjd/Build/Products/Debug-iphonesimulator/LitHouse.app/LitHouse normal x86_64
cd /Users/ericdavila/Documents/xCodeProjects/7.02
export IPHONEOS_DEPLOYMENT_TARGET=9.0
export PATH="/Users/ericdavila/Documents/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Users/ericdavila/Documents/Xcode-beta.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Users/ericdavila/Documents/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Users/ericdavila/Documents/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -L/Users/ericdavila/Library/Developer/Xcode/DerivedData/LitHouse-evpsrrilluhozfglzlevnroqodjd/Build/Products/Debug-iphonesimulator -F/Users/ericdavila/Library/Developer/Xcode/DerivedData/LitHouse-evpsrrilluhozfglzlevnroqodjd/Build/Products/Debug-iphonesimulator -F/Users/ericdavila/Documents/xCodeProjects/7.02/Pods/FirebaseAnalytics/Frameworks/frameworks -F/Users/ericdavila/Documents/xCodeProjects/7.02/Pods/FirebaseInstanceID/Frameworks/frameworks -F/Users/ericdavila/Documents/xCodeProjects/7.02/Pods/Google-Mobile-Ads-SDK/Frameworks -F/Users/ericdavila/Documents/xCodeProjects/7.02/Pods/GoogleInterchangeUtilities/Frameworks -F/Users/ericdavila/Documents/xCodeProjects/7.02/Pods/GoogleSymbolUtilities/Frameworks -F/Users/ericdavila/Documents/xCodeProjects/7.02/Pods/GoogleUtilities/Frameworks -F/Users/ericdavila/Documents/xCodeProjects/7.02 -filelist /Users/ericdavila/Library/Developer/Xcode/DerivedData/LitHouse-evpsrrilluhozfglzlevnroqodjd/Build/Intermediates/LitHouse.build/Debug-iphonesimulator/LitHouse.build/Objects-normal/x86_64/LitHouse.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -Xlinker -rpath -Xlinker #executable_path/Frameworks -mios-simulator-version-min=9.0 -Xlinker -object_path_lto -Xlinker /Users/ericdavila/Library/Developer/Xcode/DerivedData/LitHouse-evpsrrilluhozfglzlevnroqodjd/Build/Intermediates/LitHouse.build/Debug-iphonesimulator/LitHouse.build/Objects-normal/x86_64/LitHouse_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -L/Users/ericdavila/Documents/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/ericdavila/Library/Developer/Xcode/DerivedData/LitHouse-evpsrrilluhozfglzlevnroqodjd/Build/Intermediates/LitHouse.build/Debug-iphonesimulator/LitHouse.build/Objects-normal/x86_64/LitHouse.swiftmodule -ObjC -lc++ -lsqlite3 -lz -framework AVFoundation -framework AdSupport -framework AddressBook -framework AudioToolbox -framework CoreBluetooth -framework CoreGraphics -framework CoreMedia -framework CoreMotion -framework CoreTelephony -framework CoreVideo -framework EventKit -framework EventKitUI -framework FirebaseAnalytics -framework FirebaseInstanceID -framework GLKit -framework GoogleInterchangeUtilities -framework GoogleMobileAds -framework GoogleSymbolUtilities -framework GoogleUtilities -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework OpenGLES -framework SafariServices -framework StoreKit -framework SystemConfiguration -weak_framework AdSupport -weak_framework SafariServices -framework CoreLocation -lstdc++.6 -framework SystemConfiguration -framework AudioToolbox -lsqlite3 -framework Parse -framework Bolts -framework Pods_Lit_House -framework Pods_LitHouse -Xlinker -dependency_info -Xlinker /Users/ericdavila/Library/Developer/Xcode/DerivedData/LitHouse-evpsrrilluhozfglzlevnroqodjd/Build/Intermediates/LitHouse.build/Debug-iphonesimulator/LitHouse.build/Objects-normal/x86_64/LitHouse_dependency_info.dat -o /Users/ericdavila/Library/Developer/Xcode/DerivedData/LitHouse-evpsrrilluhozfglzlevnroqodjd/Build/Products/Debug-iphonesimulator/LitHouse.app/LitHouse
ld: framework not found Pods_Lit_House
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The error message is this:
Ld /Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Products/Debug-iphoneos/ParseStarterProject-Swift.app/ParseStarterProject-Swift normal arm64
cd "/Users/RMacMini/Desktop/Mystery Date/parse-starter-project-1.10.0/ParseStarterProject-Swift"
export IPHONEOS_DEPLOYMENT_TARGET=9.0
export PATH="/Volumes/R TM/Apps from old MM HD/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Volumes/R TM/Apps from old MM HD/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Volumes/R\ TM/Apps\ from\ old\ MM\ HD/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Volumes/R\ TM/Apps\ from\ old\ MM\ HD/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Products/Debug-iphoneos -L/Users/RMacMini/Desktop/Mystery\ Date/parse-starter-project-1.10.0/ParseStarterProject-Swift -F/Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Products/Debug-iphoneos -F/Users/RMacMini/Desktop/Mystery\ Date/parse-starter-project-1.10.0/ParseStarterProject-Swift -filelist /Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Intermediates/ParseStarterProject-Swift.build/Debug-iphoneos/ParseStarterProject-Swift.build/Objects-normal/arm64/ParseStarterProject-Swift.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -miphoneos-version-min=9.0 -dead_strip -L/Volumes/R\ TM/Apps\ from\ old\ MM\ HD/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Xlinker -add_ast_path -Xlinker /Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Intermediates/ParseStarterProject-Swift.build/Debug-iphoneos/ParseStarterProject-Swift.build/Objects-normal/arm64/ParseStarterProject_Swift.swiftmodule -lsqlite3 -lstdc++.6.0.9 -lsqlite3 -lz -framework ParseUI -framework QuartzCore -framework Security -framework ParseFacebookUtils -framework StoreKit -framework SystemConfiguration -framework CoreLocation -framework CoreGraphics -framework CFNetwork -framework AudioToolbox -framework AddressBook -framework AddressBookUI -framework Parse -framework Bolts -framework AdSupport -framework AssetsLibrary -Xlinker -dependency_info -Xlinker /Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Intermediates/ParseStarterProject-Swift.build/Debug-iphoneos/ParseStarterProject-Swift.build/Objects-normal/arm64/ParseStarterProject-Swift_dependency_info.dat -o /Users/RMacMini/Library/Developer/Xcode/DerivedData/ParseStarterProject-Swift-ckffbprwvtawqmhfaxjbyvhaipts/Build/Products/Debug-iphoneos/ParseStarterProject-Swift.app/ParseStarterProject-Swift
ld: entry point (_main) undefined. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
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..