“没有架构”为 iPhone 设备编译 Objective flickr 时出错
当我尝试编译 XCode 项目以在我的设备上进行调试时,出现以下错误。
No architectures to compile for (ARCHS=x86_64, VALID_ARCHS=armv6 armv7).
正如自述文件所述,我已将 ObjectiveFlickr 包含在我的项目中。我已经经历了这个过程好几次,并重新下载了 ObjectiveFlickr 几次以重新开始。
我过去已经让 ObjectiveFlickr 在设备上工作了。我不知道为什么我突然遇到麻烦。有人能给我指出一些可能包含我需要的线索的东西吗?我还需要提供其他信息吗?我只对 OF 文档指定的项目进行了更改。
在编译 OF 提供的 snap-n-run 示例项目时,我也会遇到此错误。所以我的项目中肯定缺少一些东西。
谢谢,
- 查理
I'm getting the following error when I attempt to compile my XCode project to debug on my device.
No architectures to compile for (ARCHS=x86_64, VALID_ARCHS=armv6 armv7).
I've included ObjectiveFlickr in my project just as the readme describes. I've gone through the process several times and redownloaded objectiveFlickr a few times to start over.
I've gotten objectiveFlickr to work on devices in the past. I don't know why I am suddenly having trouble. Can anybody point me to something that might hold the clue I need? Any other info I need to provide? I made only changes to my project that are specified by the OF documentation.
I also get this error when compiling the included snap-n-run example project provided with OF. So I must be missing something beneath my project.
Thanks,
- Charlie
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看这篇文章以获取另一个解决方案。我还没有测试它的发布/分发,但到目前为止它可以用于调试。
http://groups.google.com/group/objectiveflickr/browse_thread/thread/ ad8e5ec6ba976672
Check out this post for another solution. I have not tested it for release/dist but it works for debug so far.
http://groups.google.com/group/objectiveflickr/browse_thread/thread/ad8e5ec6ba976672
好吧,我没能真正解决这个问题。然而,在与 objflickr 的创建者 Lukhanos 联系后,我尝试将 objflickr 源代码直接包含在我的项目中。经过一番尝试和错误来整理出需要哪些源文件(“source”目录和“LFWebAPIKit”目录)并将“SystemConfiguration”框架添加到我的项目中,一切正常。
仍然不知道为什么我会遇到这个问题,但至少我现在可以构建我的项目!
谢谢
- 查理
Well, I wasn't able to truly solve this problem. However, after corresponding with Lukhanos, the creator of objflickr, I tried including the objflickr source code directly in my project. After a bit of trial and error to sort out which source files were needed (the "source" directory and the "LFWebAPIKit" directory) and adding the "SystemConfiguration" framework to my project, things are building OK.
Still no clue as to why I was experiencing this issue, but at least I can get my project built now!
Thanks
- Charlie