将项目复制到新笔记本电脑后Apple Mach-O链接器错误

时间:2015-09-01 20:00:45

标签: ios xcode swift

我刚拿到一台新笔记本电脑并将我的项目从一个复制到另一个。尝试在设备上运行项目后,我收到以下错误。

Ld /Users/bobbygetka/Library/Developer/Xcode/DerivedData/Audeo-bxvmiakxxisgbxhewpfkhucpbwiz/Build/Products/Debug-iphoneos/Audeo.app/Audeo normal arm64
cd "/Users/bobbygetka/Desktop/Audeo/Audeo ios"
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.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 arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk -L/Users/bobbygetka/Library/Developer/Xcode/DerivedData/Audeo-bxvmiakxxisgbxhewpfkhucpbwiz/Build/Products/Debug-iphoneos -L/Users/bobbygetka/Desktop/Audeo/Audeo\ ios/Pods/Google/Libraries -L/Users/bobbygetka/Desktop/Audeo/Audeo\ ios/Pods/GoogleAppUtilities/Libraries -L/Users/bobbygetka/Desktop/Audeo/Audeo\ ios/Pods/GoogleAuthUtilities/Libraries -L/Users/bobbygetka/Desktop/Audeo/Audeo\ ios/Pods/GoogleNetworkingUtilities/Libraries -L/Users/bobbygetka/Desktop/Audeo/Audeo\ ios/Pods/GoogleSignIn/Libraries -L/Users/bobbygetka/Desktop/Audeo/Audeo\ ios/Pods/GoogleSymbolUtilities/Libraries -L/Users/bobbygetka/Desktop/Audeo/Audeo\ ios/Pods/GoogleUtilities/Libraries -F/Users/bobbygetka/Library/Developer/Xcode/DerivedData/Audeo-bxvmiakxxisgbxhewpfkhucpbwiz/Build/Products/Debug-iphoneos -filelist /Users/bobbygetka/Library/Developer/Xcode/DerivedData/Audeo-bxvmiakxxisgbxhewpfkhucpbwiz/Build/Intermediates/Audeo.build/Debug-iphoneos/Audeo.build/Objects-normal/arm64/Audeo.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -ObjC -lASBPlayerScrubbing -lGGLCore -lGGLSignIn -lGIDExShared -lGSDK_Overload -lGTMOAuth2_external -lGTMOAuth2_internal -lGTMSessionFetcher_core -lGTMSessionFetcher_full -lGTMStackTrace -lGTM_AddressBook -lGTM_DebugUtils -lGTM_GTMURLBuilder -lGTM_KVO -lGTM_NSDictionary+URLArguments -lGTM_NSScannerJSON -lGTM_NSStringHTML -lGTM_NSStringXML -lGTM_Regex -lGTM_RoundedRectPath -lGTM_StringEncoding -lGTM_SystemVersion -lGTM_UIFont+LineHeight -lGTM_core -lGTM_iPhone -lOpenInChrome -lSignIn -framework AVFoundation -framework AddressBook -framework CoreGraphics -framework CoreText -framework Foundation -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Xlinker -add_ast_path -Xlinker /Users/bobbygetka/Library/Developer/Xcode/DerivedData/Audeo-bxvmiakxxisgbxhewpfkhucpbwiz/Build/Intermediates/Audeo.build/Debug-iphoneos/Audeo.build/Objects-normal/arm64/Audeo.swiftmodule -miphoneos-version-min=8.0 -lPods -Xlinker -dependency_info -Xlinker /Users/bobbygetka/Library/Developer/Xcode/DerivedData/Audeo-bxvmiakxxisgbxhewpfkhucpbwiz/Build/Intermediates/Audeo.build/Debug-iphoneos/Audeo.build/Objects-normal/arm64/Audeo_dependency_info.dat -o /Users/bobbygetka/Library/Developer/Xcode/DerivedData/Audeo-bxvmiakxxisgbxhewpfkhucpbwiz/Build/Products/Debug-iphoneos/Audeo.app/Audeo

ld: library not found for -lASBPlayerScrubbing
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我看了其他类似的问题,但似乎没有人帮忙,感谢您的帮助。

1 个答案:

答案 0 :(得分:0)

请清理你项目中的搜索路径。它会正常工作......

并在您的项目文件中查看您是否有“CoreData.framework”。我已经解决了我的问题..