如何修复 xCode 4 与 CoreData 的链接错误 (4.2 -> 4.3)
我假设的问题很简单。我一直在 iOS 版本 4.2/xCode 3 中处理的项目的一部分,但现在当我尝试在 xCode 4 的 4.3 项目中使用这些类时,出现链接错误。
它忽略了 CoreData 框架:
ld: warning: ignoring file /Users/Dom/Documents/Programming/objective-c/LunchMeet/CoreData.framework/CoreData, 文件中缺少所需的架构 i386
然后其余的链接错误是因为核心数据不存在。如何将课程从 4.2 转移到 4.3?
谢谢!
Simple issue I assume. Part of a project I've been working on in the iOS version 4.2/xCode 3 but now when I try to use those classes in my 4.3 project in xCode 4, I get a linking error.
It is ignoring the CoreData framework:
ld: warning: ignoring file /Users/Dom/Documents/Programming/objective-c/LunchMeet/CoreData.framework/CoreData, missing required architecture i386 in file
And then the rest of the linking errors are because core data is not there. How do I transfer a class from 4.2 to 4.3?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,无论如何我找到了解决方法。我刚刚将 CoreData.framework 引用从 4.2 项目复制到 4.3 项目并修复了它。我仍然不明白问题是什么。
Okay I found a way around it anyway. I just copied the CoreData.framework reference from the 4.2 project to the 4.3 project and that fixed it. I still don't understand what the issue is though.