找不到FacebookSDK的Xcode目录

时间:2018-10-18 19:32:45

标签: swift xcode

尝试构建项目时出现以下错误:

ld: warning: directory not found for '-F/Users/user/Documents/Development/MyApp-master 2/FacebookSDKs-iOS-4.13.1'
ld: framework not found GoogleInterchangeUtilities
clang: error: linker command failed with exit code 1 (use -v to see invocation)

详细信息错误:

Ld /Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/MyApp.app/MyApp normal x86_64
cd "/Users/user/Documents/Development/MyApp-master 2"
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode 9.3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode 9.3.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode\ 9.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode\ 9.3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.3.sdk -L/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/AFNetworking -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/Alamofire -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/AlertOnboarding -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/FirebaseAuth -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/FirebaseCore -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/FirebaseDatabase -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/FirebaseDynamicLinks -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/FirebaseStorage -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/GTMSessionFetcher -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/GoogleUtilities -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/Spring -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/leveldb-library -F/Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/nanopb -F/Users/user/Documents/Development/MyApp-master\ 2/Pods/FirebaseAnalytics/Frameworks -F/Users/user/Documents/Development/MyApp-master\ 2/Pods/FirebaseInstanceID/Frameworks -F/Users/user/Documents/Development/MyApp-master\ 2/Pods/GoogleAppMeasurement/Frameworks -F/Users/user/Documents/Development/MyApp-master\ 2 -F/Users/user/Documents/Development/MyApp-master\ 2/FacebookSDKs-iOS-4.13.1 -filelist /Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/x86_64/MyApp.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/x86_64/MyApp_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode\ 9.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/x86_64/MyApp.swiftmodule -ObjC -lc++ -licucore -lsqlite3 -lz -framework AFNetworking -framework Alamofire -framework AlertOnboarding -framework AssetsLibrary -framework CFNetwork -framework FIRAnalyticsConnector -framework FirebaseAnalytics -framework FirebaseAuth -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseDatabase -framework FirebaseDynamicLinks -framework FirebaseInstanceID -framework FirebaseStorage -framework Foundation -framework GTMSessionFetcher -framework GoogleAppMeasurement -framework GoogleUtilities -framework MessageUI -framework MobileCoreServices -framework QuartzCore -framework Security -framework Spring -framework StoreKit -framework SystemConfiguration -framework leveldb -framework nanopb -weak_framework WebKit -ObjC -lc++ -licucore -lsqlite3 -lz -framework AdSupport -framework AddressBook -framework CFNetwork -framework CoreGraphics -framework FirebaseAnalytics -framework FirebaseAuth -framework FirebaseDatabase -framework FirebaseInstanceID -framework FirebaseStorage -framework GoogleInterchangeUtilities -framework GoogleNetworkingUtilities -framework GoogleSymbolUtilities -framework GoogleUtilities -framework MobileCoreServices -framework SafariServices -framework Security -framework StoreKit -framework SystemConfiguration -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/MyApp.app-Simulated.xcent -licucore -lc++ -framework FBSDKShareKit -framework FBSDKLoginKit -framework SystemConfiguration -framework Security -framework FBSDKCoreKit -framework CFNetwork -framework Pods_MyApp -Xlinker -dependency_info -Xlinker /Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Intermediates.noindex/MyApp.build/Debug-iphonesimulator/MyApp.build/Objects-normal/x86_64/MyApp_dependency_info.dat -o /Users/user/Library/Developer/Xcode/DerivedData/MyApp-focacappdgtwajfwdsvihcuqiccc/Build/Products/Debug-iphonesimulator/MyApp.app/MyApp

我也在搜索路径中找到了这个

$(inherited)
$(PROJECT_DIR)
$(PROJECT_DIR)/FacebookSDKs-iOS-4.13.1

这可能会引起问题吗?没有目录“ FacebookSDKs-iOS-4.13.1”。删除那无济于事。 我该如何解决这个问题?

0 个答案:

没有答案