我在 iOS 6.0 项目中使用 RestKit 0.10.2 已经有一段时间了。我一直在制作 Ad Hoc 预置档案,以便在其他设备上进行测试而没有问题。在最近的更新之后,我现在有了 iOS SDK 6.1。
我仍然可以在 iPhone 模拟器和手机(仍然有 iOS 6.0)上运行我的应用程序,但我无法再构建存档。它现在出现以下错误:
"_lcl_configure_by_name", referenced from:
-[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o
"_OBJC_CLASS_$_RKClient", referenced from:
objc-class-ref in AppDelegate.o
objc-class-ref in [MY_CLASS]ViewController.o
objc-class-ref in [MY_CLASS]ViewController.o
objc-class-ref in [MY_CLASS].o
objc-class-ref in [MY_CLASS]ViewController.o
"_RKLogInitialize", referenced from:
-[AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
RestKit 类也出现了类似的错误:RKParams
, RKParserRegistry
, RKMIMETypeJSON
, RKRequestSerialization
, RKObjectMapping
.
任何帮助将非常感激。