官方:
目前ios的指令集有以下几种:
- armv6
- iPhone
- iPhone2
- iPhone3G
- 第一代和第二代iPod Touch
- armv7
- iPhone4
- iPhone4S
- armv7s
- iPhone5
- iPhone5C
- arm64
- iPhone5S
机器对指令集的支持是向下兼容的,因此armv7的指令集是可以运行在iphone5S的,只是效率没那么高而已~
================================================
Architecture : 指你想支持的指令集。
Valid architectures : 指即将编译的指令集。
Build Active Architecture Only : 只是否只编译当前适用的指令集。
================================================
现在是2014年初,其实4和4S的用户还是蛮多的,而iphone3之类的机器几乎没有了,所以我们的指令集最低必须基于armv7.
因此,Architecture的值选择:armv7 armv7s arm64
PS:选arm64时需要最低支持5.1.1:
Convert Your App to a 64-Bit Binary After Updating It for iOS 7
Xcode 5.0.1 can build your app with both 32-bit and 64-bit binaries included. This combined binary requires a minimum deployment target of iOS 5.1.1 or later. The 64-bit binary runs only on 64-bit devices running iOS 7.0.3 and later. If you have an existing app, you should first update your app for iOS 7 and then port it to run on 64-bit processors. By updating it first for iOS 7, you can remove deprecated code paths and use modern practices. If you’re creating a new app, target iOS 7 and compile 32-bit and 64-bit versions of your app.
The architecture for 64-bit apps on iOS is almost identical to the architecture for OS X apps, making it easy to create a common code base that runs in both operating systems. Converting a Cocoa Touch app to 64-bit follows a similar transition process as the one for Cocoa apps on OS X. Pointers and some common C types change from 32 bits to 64 bits. Code that relies on the NSInteger
and CGFloat
types needs to be carefully examined.
Start by building the app for the 64-bit runtime, fixing any warnings that occur as well as searching your code for specific 64-bit issues. For example:
-
Make sure all function calls have a proper prototype.
-
Avoid truncating 64-bit values by accidentally assigning them to a 32-bit data type.
-
Ensure that calculations are performed correctly in the 64-bit version of your app.
-
Create data structures whose layouts are identical in the 32-bit and 64-bit versions of your app (such as when you write a data file to iCloud).
1,如果想自己的app在各个机器都能够最高效率的运行,则需要将Build Active Architecture Only改为NO,Valid architectures选择对应的指令集:armv7 armv7s arm64。这个会为各个指令集编译对应的代码,因此最后的 ipa体积基本翻了3倍,Release版本必须NO。
2,如果想让app体积保持最小,则现阶段应该选择Valid architectures为armv7,这样Build Active Architecture Only选YES或NO就无所谓了
相关推荐
3、Architectures由32位改为了Standard architectures(arm7,arm64),现在的app store都要支持arm64才能上传 4、补充最近通话记录图标 5、pjsip引用简化,直接将所有头文件都整合到一个目录,所有库文件在一个目录。...
让cocos2dx支持并通过arm64 编译
二维码扫描示例,XCode 6.1编译, 真机上面实测通过, 支持 armv6 armv7 armv7s arm64 。
Xcode iOS9.3 配置包 could not find developer disk image
Xcode真机调试包15.6.zip
这是一个xcode静态库编译方法的文档 欢迎大家下载
3、Architectures由32位改为了Standard architectures(arm7,arm64),现在的app store都要支持arm64才能上传 4、补充最近通话记录图标 5、pjsip引用简化,直接将所有头文件都整合到一个目录,所有库文件在一个目录。...
该脚本为MacOS(x86_64,arm64),Mac Catalyst(x86_64,arm64),iOS(armv7,armv7s,arm64和arm64e),iOS模拟器(x86_64,arm64),tvOS(arm64)和OpenSSL,nghttp2和cURL / libcurl构建tvOS模拟器(x86_64)...
支持Xcode6 ,解决arm64,arm7s兼容并解决中文乱码问题 ,文件包含64位.a静态库(Architectures in the fat file: libzbar.a are: armv7 i386 x86_64 arm64)以及头文件,测试上传的,请放心下载
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks目录下的IOSurface.framework、FileProvider.framework拷到Xcode8中相应目录下...
FFmpeg 2.6.1 编译的静态库,在Xcode6 iOS8上编译, 已整合(arm64 armv7s armv7 x86_64 i386)。
FFmpeg 2.5.3 编译的静态库,在Xcode6 iOS8上编译, 已整合(arm64 armv7s armv7 x86_64 i386)。
ios开发 XMPP的libidn 支持arm64的包,支持xcode11 + 编译 亲测! 自己先上传一份方便以后好找
带有Swift和XCode的ARM64汇编此代码显示了iOS应用程序中的嵌入式ARM64汇编代码的简单内容。 它为我在提供了一个工作演示。这是什么ViewController.swift将文本输入字段和文本标签字段与按钮连接在一起,并执行一些...
libstdc++.6.0.9.tbd 依赖库文件, iOS开发升级Xcode10 之后的报错
最新ZBarSDK 静态包libzbar.a支持xcode 6 arm64
最新编译的支持iOS平台的openssl静态库,支持arm v7,armv7s,arm64 Xcode7最新编译的,支持到7.0以上系统
国密加密算法iOS静态库,支持国密加密、解密、ssl通信,包含 libcrypto.a、libssl.a、头文件,支持bitcode。
编译自opencore-amr-0.1.3,编译环境XCode6.1.1下iOS8 SDK。支持arm64 armv7s x86_64 i386 armv7。
xcode6 0 1 ios8sdk 编译ffmpeg库 可以编译armv7 armv7s arm64 模拟器的找了好多资料没有编译通过 如果没有更新xcode和sdk 可以修改 sh文件里的SDK VERSION 修改自己的sdk版本 还有我是这三个平台我是一个一个编译的...