2016-12-14 88 views
0

閱讀與此類似的其他問題,但沒有解決我的問題。我得到的稱號錯誤,當我嘗試運行模擬器,而這個警告消息:鏈接器命令失敗,退出代碼1(使用-v查看調用)在swift中

directory not found for option '-F/Users/Grady/Library/Developer/Xcode/DerivedData/Nomadik-himgaykkfxgfvhfcmtazniqkaxwi/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac

/Users/Grady/Library/Developer/Xcode/DerivedData/Nomadik-himgaykkfxgfvhfcmtazniqkaxwi/Build/Products/Debug-iphonesimulator/Nomadik.app/Nomadik normal x86_64 
cd /Users/Grady/Documents/SE498_Projects/Nomadik 
export IPHONEOS_DEPLOYMENT_TARGET=9.3 
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk -L/Users/Grady/Library/Developer/Xcode/DerivedData/Nomadik-himgaykkfxgfvhfcmtazniqkaxwi/Build/Products/Debug-iphonesimulator -F/Users/Grady/Library/Developer/Xcode/DerivedData/Nomadik-himgaykkfxgfvhfcmtazniqkaxwi/Build/Products/Debug-iphonesimulator -F/Users/Grady/Library/Developer/Xcode/DerivedData/Nomadik-himgaykkfxgfvhfcmtazniqkaxwi/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac -F/Users/Grady/Documents/SE498_Projects/Nomadik/Pods/FirebaseAnalytics/Frameworks/frameworks -F/Users/Grady/Documents/SE498_Projects/Nomadik/Pods/FirebaseCore/Frameworks/frameworks -F/Users/Grady/Documents/SE498_Projects/Nomadik/Pods/FirebaseInstanceID/Frameworks/frameworks -F/Users/Grady/Documents/SE498_Projects/Nomadik/Pods/GoogleInterchangeUtilities/Frameworks/frameworks -F/Users/Grady/Documents/SE498_Projects/Nomadik/Pods/GoogleSymbolUtilities/Frameworks/frameworks -filelist /Users/Grady/Library/Developer/Xcode/DerivedData/Nomadik-himgaykkfxgfvhfcmtazniqkaxwi/Build/Intermediates/Nomadik.build/Debug-iphonesimulator/Nomadik.build/Objects-normal/x86_64/Nomadik.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=9.3 -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lc++ -lsqlite3 -lz -framework AddressBook -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseInstanceID -framework GoogleInterchangeUtilities -framework GoogleSymbolUtilities -framework GoogleToolboxForMac -framework StoreKit -framework SystemConfiguration -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/Grady/Library/Developer/Xcode/DerivedData/Nomadik-himgaykkfxgfvhfcmtazniqkaxwi/Build/Intermediates/Nomadik.build/Debug-iphonesimulator/Nomadik.build/Objects-normal/x86_64/Nomadik.swiftmodule -Xlinker -dependency_info -Xlinker /Users/Grady/Library/Developer/Xcode/DerivedData/Nomadik-himgaykkfxgfvhfcmtazniqkaxwi/Build/Intermediates/Nomadik.build/Debug-iphonesimulator/Nomadik.build/Objects-normal/x86_64/Nomadik_dependency_info.dat -o /Users/Grady/Library/Developer/Xcode/DerivedData/Nomadik-himgaykkfxgfvhfcmtazniqkaxwi/Build/Products/Debug-iphonesimulator/Nomadik.app/Nomadik 

我會很感激有人可以幫助我在這裏..

+1

你試過乾淨和重建嗎?如果這不起作用,你是否嘗試刪除DerivedData? – NobodyNada

+0

如果NonodyNada的建議無效,請嘗試關閉xcode並重新打開它。 –

+0

這些都沒有工作,我會嘗試刪除CocoaPods – Grady

回答

2

首先清理&之後重建項目...

轉到您的構建設置,並將目標的設置切換到ENABLE_BITCODE = YES。

相關問題