我将我的cocoapods版本更新到了1.0,现在我收到了一系列关于架构的错误。下面是我的错误:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_Reachability", referenced from:
objc-class-ref in ReachabilityManager.o
(maybe you meant: _OBJC_CLASS_$_ReachabilityManager)
"_OBJC_CLASS_$_PBJVision", referenced from:
objc-class-ref in NewSpinViewController.o
"_PBJVisionPhotoImageKey", referenced from:
-[NewSpinViewController vision:capturedPhoto:error:] in NewSpinViewController.o
"_kReachabilityChangedNotification", referenced from:
-[NoInternetViewController viewDidLoad] in NoInternetViewController.o
"_PBJVisionPhotoThumbnailKey", referenced from:
-[NewSpinViewController vision:capturedPhoto:error:] in NewSpinViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)我花了几个小时试图通过切换构建设置下的结算来解决这个问题,但对我来说什么都不起作用。
这就是我目前为我的架构准备的

有谁有什么想法吗?
发布于 2016-06-21 12:49:23
尝试这样做:删除派生数据,然后重新编译。有时,即使你清理了项目,pod库也无法编译,当我更新到cocoapods 1.0.1时,这种情况就发生在我身上。
https://stackoverflow.com/questions/37198199
复制相似问题