尝试使用 SDK 4 将构建版本推送到运行 os 3.1.3 的第一代 iPod 时出错
我刚刚升级到 iPhone SDK 4,在升级 SDK 之前,我正在构建运行 OS 3.1.3 的 iPod。当我现在尝试构建时,出现以下错误:
无法运行“AppName” - 是为“armv7”构建的,但设备需要“armv6”或兼容架构。
在项目设置中,我将架构设置为标准(armv7 armv6),并将基础 SDK 设置为 iPhone 设备 4.0。我还将 iPhone OS 部署目标设置为 iPhone OS 3.1.3。
有什么想法我可能出了什么问题吗?
I just upgraded to iPhone SDK 4, I was building to the iPod running OS 3.1.3 fine untill i ugraded the SDK. When I try to build now I get the following error:
Can't run 'AppName' - was built for 'armv7', but device requires 'armv6' or compatible architecture.
In the project settings I have set the Architectures to Standard (armv7 armv6), and set the Base SDK to iPhone Device 4.0. I also set the iPhone OS Deployment Target to iPhone OS 3.1.3.
Any ideas what might be going wrong on me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
修好了。我更改了项目设置,但还必须更改活动目标设置。
这是在 Project -> 中完成的编辑活动目标“appName”。我只需要将架构从优化切换到标准。
Fixed it. I changed the project settings but also had to change the active target settings.
This is done in Project -> Edit Active Target "appName". I just had to switch the Architecture from optimised to standard.