2
我一直在工作的一个项目数周的使用的CocoaPods缺失的ARCH:XCode项目打破了由于对arm64
platform :ios, '7.0'
pod 'SVProgressHUD', '~>1.0'
pod 'Reachability', '~> 3.1.1'
pod 'UIDevice-Hardware', '~> 0.1.3'
的podfile没有改变周无论是。但是,今天我突然得到了一个构建错误,我无法弄清楚什么是错的,或者为什么构建突然开始失败。
ld: warning: ignoring file /Users/jim/Library/Developer/Xcode/DerivedData/App-bgzqwpbxhsvbvmhdfdvgafjurltc/Build/Products/Debug-iphoneos/libPods.a, missing required architecture arm64 in file /Users/jim/Library/Developer/Xcode/DerivedData/App-bgzqwpbxhsvbvmhdfdvgafjurltc/Build/Products/Debug-iphoneos/libPods.a (2 slices)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_SVProgressHUD", referenced from:
objc-class-ref in BCRegisterViewController.o
"_OBJC_CLASS_$_MSClient", referenced from:
objc-class-ref in BCCentralService.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
任何想法可能是错的什么?我查看了所有项目和目标,并将64位列为有效的体系结构。
谢谢。这帮助我找到了我的cocoapods问题,这是因为某些原因,项目被设置为Mac OSX,而不是iOS! –