2017-10-16 57 views
0

我用AFNetworking和lumberjack下載了這個項目,它不會編譯。 以下是我收到的錯誤,你能指導我如何解釋它,如果你知道錯誤是什麼?錯誤:找不到-lPods

LD /用戶/納德/庫/開發商/ Xcode中/ DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz /編譯/產品/調試-iphonesimulator/SimpleLink \ provisioning.app/SimpleLink \供應正常x86_64的 CD /用戶/納德/文檔/ iOS/source 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「 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk -L/Users/nader/Library/Devel oper/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Products/Debug-iphonesimulator -L/Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Products/Debug-iphonesimulator/AFNetworking -L/Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Products/Debug-iphonesimulator/CocoaLumberjack -L/Users/nader/Documents/iOS/source/SmartConfigCC31XX -L/Users/nader/Documents/iOS/source/build/Debug-iphoneos -F/Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Products/Debug-iphonesimulator -F/Users/nader/Documents/iOS/source -filelist/Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Intermediates.noindex/SmartConfigCC31XX.build/Debug-iphonesimulator/SmartConfigCC31XX.build/Objects -normal/x86_64/SimpleLink \ provisioning.LinkFileList -mios-simulator-version-min = 7.0 -dead_strip -Xli nker -object_path_lto -Xlinker /Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Intermediates.noindex/SmartConfigCC31XX.build/Debug-iphonesimulator/SmartConfigCC31XX.build/Objects-normal/x86_64/SimpleLink\ provisioning_lto。 o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lAFNetworking -lCocoaLumberjack -framework CoreGraphics -framework MobileCoreServices -framework Security -framework SystemConfiguration -ObjC -lAFNetworking -lCocoaLumberjack -framework CoreGraphics -framework MobileCoreServices -framework Security -framework SystemConfiguration -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/nader/Library/Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Intermediates.noindex/SmartConfigCC31XX.build /Debug-iphonesimulator/SmartConfigCC31XX.build/SimpleLink \ provisioning.app.xcent -lFirstTimeConfi g -lCocoaLumberjack -framework SystemConfiguration -framework Security-framework AVFoundation -liconv -framework QuartzCore -framework CoreVideo -framework CoreMedia -framework CoreGraphics -framework UIKit -framework Foundation -lPods -lPods-SmartConfigCC31XX -Xlinker -dependency_info -Xlinker/Users/nader/Library /Developer/Xcode/DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/Build/Intermediates.noindex/SmartConfigCC31XX.build/Debug-iphonesimulator/SmartConfigCC31XX.build/Objects-normal/x86_64/SimpleLink \ provisioning_dependency_info.dat -o/Users/nader/Library/Developer/Xcode中/ DerivedData/SmartConfigCC31XX-axrpiaydjwsrwxhbpqketglbghrz/BUILD /產品/調試-iphonesimulator/SimpleLink \ provisioning.app/SimpleLink \供應

LD:庫找不到-lPods 鐺:錯誤:連接命令,退出代碼1失敗(使用-v來EE調用)

+0

你有'.xcodeproj'打開文件,或者你打開'.xcworkspace'文件? – Ladislav

+0

我正在使用hte xcworkspace – monekypox121

回答

0
  1. 吊艙安裝
  2. 從.xcworkspace
  3. 打開項目重建
+0

我已經試圖用xcworkspace打開它,但它沒有工作 – monekypox121

+0

您是否嘗試清理項目和派生數據? – jvrmed

+0

是的,我做過。我做了一個乾淨的,然後按照這些說明:https://stackoverflow.com/questions/38227783/how-to-delete-derived-data-in-xcode8 – monekypox121