Support armv6 and armv7 in the same ipa

若如初见. 提交于 2019-12-04 07:14:31
McCygnus

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

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

It will produce two binaries and then stick them together in a so-called "fat binary". You can play around with sticking multiple architectures in the same executable yourself using the lipo command.

To clarify: You will have two executables inside a single file. This is logically a single executable (both are your app), but one version targets one architecture and the other version targets the other architecture.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!