gpt4 book ai didi

ios - 存档应用程序 RestKit 0.10 失败

转载 作者:行者123 更新时间:2023-11-29 04:07:54 27 4
gpt4 key购买 nike

我已经在我的 iOS 6.0 项目中使用 RestKit 0.10.2 一段时间了。我一直在制作临时配置的文件,以便在其他设备上进行测试,没有出现任何问题。经过最近的更新后,我现在拥有 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 类也出现类似的错误:RKParamsRKParserRegistryRKMIMETypeJSONRKRequestSerializationRKObjectMapping

任何帮助将不胜感激。

最佳答案

从架构build设置中删除armv7s。除了 iPhone 5 处理器上的高性能游戏之外,这并不是必需的。可能restkit项目build设置没有构建armv7s二进制文件。最简单的事情是从主项目中删除armv7s,这样它就不会尝试链接它。

关于ios - 存档应用程序 RestKit 0.10 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14900017/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com