提交app Store审核时,Missing 64-bit support问题的解决办法
2015-09-30 14:08
429 查看
来源:http://m.blog.csdn.net/blog/wsjshx/43865963
处理方法如下:
1、确保Xcode版本号>=5.0.1
2、更新project settings, minimum deployment target >= 5.1.1
3、Valid Architectures 添加设置 armv7 armv7s arm64
4、改变Architectures为 Standard architectures(include 64-bit)
5、之后再在Architectures添加armv7
armv7s arm64三个.
xcode中的相关设置如下图:
Build Active Architecture Only这个属性,设置为NO时,会编译所有的版本,不过打出来的包会大不少。这个属性设置为yes,是为了debug的时候编译速度更快,它只编译当前的architecture版本
以下是设备对应的architecture:
armv6:iPhone 2G/3G,iPod 1G/2G
armv6:iPhone 2G/3G,iPod 1G/2G
armv7s:iPhone5, iPod5
编译出的版本是向下兼容的,比如你设置此值为yes,用iphone4编译出来的是armv7版本的,iphone5也可以运行,但是armv6的设备就不能运行。
所以,一般debug的时候可以选择设置为yes,release的时候要改为no,以适应不同设备。
设置好以后,再Product->Archive的时候,有可能会遇到这样的错误:Apps that
include an arm64 architecture are required to include an armv7。
遇到上面的报错:把真机拔掉就可以了~
如果上传
包的时候 提示 Redundant binary upload的错误,这是因为 已经有 同一个version,同一个build的包已经被上传,让build增加 1就 可以上传了。
综上所述,上传二进制文件需要注意的事项有以下:
1.修改软件的版本号,在info.plist修改“Bundle versions string, short”为自己需要的版本号如“1.0.0”,修改“Bundle identifier”为发布用的APP ID,如:com.xxx.xxxx。如果是审核通过前撤下或者被拒绝重新提交,把Bundle
version的号➕1.
2.证书,修改为发布版本所用的provisioning Profile和证书。
3.Product->scheme->Edit scheme,把Build Configuration设置为release。
4.Build Active Architecture Only设置为NO。
5.最好把电脑上连接的设备拔掉。
6.set the active scheme为iOS Device。
这样就可以打包提交appstore审核了。
处理方法如下:
1、确保Xcode版本号>=5.0.1
2、更新project settings, minimum deployment target >= 5.1.1
3、Valid Architectures 添加设置 armv7 armv7s arm64
4、改变Architectures为 Standard architectures(include 64-bit)
5、之后再在Architectures添加armv7
armv7s arm64三个.
xcode中的相关设置如下图:
关于Build Active Architecture Only属性 :
Build Active Architecture Only这个属性,设置为NO时,会编译所有的版本,不过打出来的包会大不少。这个属性设置为yes,是为了debug的时候编译速度更快,它只编译当前的architecture版本以下是设备对应的architecture:
armv6:iPhone 2G/3G,iPod 1G/2G
armv6:iPhone 2G/3G,iPod 1G/2G
armv7s:iPhone5, iPod5
编译出的版本是向下兼容的,比如你设置此值为yes,用iphone4编译出来的是armv7版本的,iphone5也可以运行,但是armv6的设备就不能运行。
所以,一般debug的时候可以选择设置为yes,release的时候要改为no,以适应不同设备。
设置好以后,再Product->Archive的时候,有可能会遇到这样的错误:Apps that
include an arm64 architecture are required to include an armv7。
遇到上面的报错:把真机拔掉就可以了~
如果上传
包的时候 提示 Redundant binary upload的错误,这是因为 已经有 同一个version,同一个build的包已经被上传,让build增加 1就 可以上传了。
综上所述,上传二进制文件需要注意的事项有以下:
1.修改软件的版本号,在info.plist修改“Bundle versions string, short”为自己需要的版本号如“1.0.0”,修改“Bundle identifier”为发布用的APP ID,如:com.xxx.xxxx。如果是审核通过前撤下或者被拒绝重新提交,把Bundle
version的号➕1.
2.证书,修改为发布版本所用的provisioning Profile和证书。
3.Product->scheme->Edit scheme,把Build Configuration设置为release。
4.Build Active Architecture Only设置为NO。
5.最好把电脑上连接的设备拔掉。
6.set the active scheme为iOS Device。
这样就可以打包提交appstore审核了。
相关文章推荐
- unity3D -- 单例泛型模板
- 移动端重构系列3——重置样式
- android-----ListView和GridView的用法
- iOS 使用TableView实现下拉放大
- 【手机端】iPhone、iPad上Safari浏览器的橡皮筋效果阻止
- iOS AutoLayout 及SizeClass 自动布局(一)
- AndroidStudio快捷键
- android:scrollbarStyle属性
- iOS 8 自动布局sizeclass和autolayout的使用
- Android Studio 中ADB WIFI 插件的使用
- Android Studio安装后提示No JVM installation found解决办法
- IOS 开源库总结
- Unity将来时:IL2CPP是什么?
- android 5.1 中添加显示运营商的控制
- iOS webview缩小页面内容
- android 页面停几秒后跳转
- Android(java方法)上实现mp4的分割和拼接 (一)
- App如何选择移动广告平台,开发者2 - 移动变现模式分析
- 移动端重构系列2——整体布局(转载)
- 微信刀下多亡魂,这些封杀你都知道吗?