iOS 4.3 ODataGen 文件编译错误
知道如何解决以下问题:
使用 iOS 4.3 编译 ODataGen(Objective-C 库 V1.2 的 OData 客户端)生成的文件时出错:
ld:警告:忽略文件 odatalib/lib/iPhoneDeviceLibs/iPhone_Device_4.1/debug /libMSODataLib.a,文件中缺少所需的体系结构 i386
体系结构 i386 的未定义符号:
“_OBJC_METACLASS_$_ObjectContext”,引用自:
_OBJC_METACLASS_$_ScheduleStatusContext in ScheduleStatusContext.o
“_OBJC_CLASS_$_ObjectContext”,引用自:
_OBJC_CLASS_$_ScheduleStatusContext in ScheduleStatusContext.o
谢谢!
Any idea of how to fix the following issue:
Error when compiling files generated by ODataGen (OData Client for Objective-C library V1.2) with iOS 4.3:
ld: warning: ignoring file odatalib/lib/iPhoneDeviceLibs/iPhone_Device_4.1/debug/libMSODataLib.a, missing required architecture i386 in file
Undefined symbols for architecture i386:
"_OBJC_METACLASS_$_ObjectContext", referenced from:
_OBJC_METACLASS_$_ScheduleStatusContext in ScheduleStatusContext.o
"_OBJC_CLASS_$_ObjectContext", referenced from:
_OBJC_CLASS_$_ScheduleStatusContext in ScheduleStatusContext.o
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能正在链接到 iOS 版本的库,而应该有一个用于 i386 版本模拟器的库。你应该开始尝试
You are probably linking to the iOS version of the library, while there should be one for the i386 version of the simulator. You should start trying that