iOS framework separates and merges multiple CPU architectures, separating and merging simulators and real machines
If you are using a framework that supports a variety of CPU architectures for real machines and emulators, and you need one or more of these, you can detach the various schemas from the framework and then merge the specific ways you need them, in the following examples:
First separate the ARMV7 arm64 from the framework, or armv7s lipo Xxxx.framework/xxxx-thin arm64-output Xxxx.framework/xxxx-arm64lipo Xxxx.framework/xxxx-thin armv7-output Xxxx.framework/xxxx-armv7 Then merge the separated two architectures lipo-create xxxx.framework/xxxx-armv7 Xxxx.framework/xxxx-arm64-output xxxx.framework/xxxx Note: The query framework supports which schemas, the command is: Lipo-info xxxx.framework/xxxx This removes the support of i386 and x86_64. This article reprint with: http://blog.sina.com.cn/s/blog_9077079d0102wiy7.html
iOS framework separates and merges multiple CPU architectures, separating and merging simulators and real machines