支持armv6和armv7在同一个ipa中 [英] Support armv6 and armv7 in the same ipa

查看:262
本文介绍了支持armv6和armv7在同一个ipa中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个像这样配置的XCode项目:

I have an XCode project configured like this:


  • 项目格式:XCode 3.1兼容

  • 架构:标准(armv6 armv7)

  • 基础SDK:最新iOS(目前设置为iOS 4.2)

  • 仅构建活动架构:UNCHECKED

  • 有效的Architecures:armv6 armv7

  • Project Format: XCode 3.1-compatible
  • Architectures : Standard (armv6 armv7)
  • Base SDK : Latest iOS (currently set to iOS 4.2)
  • Build Active Architecture Only : UNCHECKED
  • Valid Architecures: armv6 armv7

我的问题:生成的二进制文件(.ipa)是否有其中有2个可执行文件 - 每个体系结构一个,或者每个体系结构只有一些不同的目标文件,或者是比这更精细的分割?

My question: Does the resulting binary (.ipa) have 2 executables in it - one for each architecture, or just some different object files for each architecture or is the split even finer grained than that?

好奇。
谢谢。

Just curious. Thanks.

推荐答案

根据你的描述,ipa应该有一个带有arm6和arm7的多架构二进制文件。您可以在终端中使用 file 命令进行检查。应用包内部是一个可执行文件,其名称与应用程序名称相同, myApp.app/myApp 。输入:

From what you described, the ipa should have a multi-architecture binary with both arm6 and arm7. You can check it with the file command in terminal. Inside of your app bundle is a executable that will have the same name as the app, myApp.app/myApp. Entering:

file myApp.app/myApp

终端中的

然后将打印它包含的内容供您仔细检查。它应该列出2个架构。

in terminal will then print what it contains for you to double check. It should list the 2 architectures.

这篇关于支持armv6和armv7在同一个ipa中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆