簡體   English   中英

鐺:錯誤:沒有這樣的文件或目錄:'dynamic_lookup'鐺:錯誤:沒有這樣的文件或目錄:'suppress'

[英]clang: error: no such file or directory: 'dynamic_lookup' clang: error: no such file or directory: 'suppress'

當我在ParseUI中添加ParseUI庫時,在安裝pod之后,出現以下錯誤:

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'

我試圖刪除dynamic_lookup並在我的構建設置中取消顯示,但是它仍然給出相同的錯誤。

我通過修改Pods / Pods.debug.xcconfig文件(和Pods.release.xcconfig相同)解決了這個問題。 不知何故,生成的xcconfig文件不正確。

從:

-read_only_relocs -undefined dynamic_lookup suppress

至:

-read_only_relocs suppress -undefined dynamic_lookup

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM