【iOS开发】提交构建版本出错:ERROR ITMS-90635
来源:互联网 发布:java服务器框架 编辑:程序博客网 时间:2024/05/11 20:44
今天打包发布遇到这个问题,
修改了bitcode还是不行,报错就是各种第三方框架类似MBProgressHUD.framework is not consistent with the Mach-O in the main bundle. the main dundle Mach-O contains armv7(machine code)and arm64(machine code)....的情况。
5月底打包时候没有过这样的问题。没错的话这应该是6月苹果更改审核要求后才出现的。
导致这样的问题出现时因为CocoPods导入的框架bitCode不一致导致的。
解决方案
在Podfile文件内容后面加上如下代码:
post_installdo |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['ENABLE_BITCODE'] = 'NO' end endend
再重新打包上传就OK啦
-------------补充纪录-------------
关于 pod update 时候出现的错误:
[!] Invalid `Podfile` file: syntax error, unexpected tCONSTANT, expecting end-of-input
...ig.build_settings['OTHER_CFLAGS'] || ['$(inherited)']
... ^. Updating CocoaPods might fix the issue.
参考 http://www.cnblogs.com/lizzie8023/p/5558504.html 得到以下解决方法:
先删除之前Podfile里面加的post_install do |installer|...... ,然后pod update, 在update之前记得给第三方框架指定一个版本(某些框架最新的可能在你项目无法使用,出现bug),升级后再次执行上面的步骤
-------------补充纪录-------------
对于iOS,bitcode是可选的;对于watchOS,bitcode是必须的;而Mac OS是不支持bitcode。
由此可在打包是去掉默认的勾选“include bitcode”项
- 【iOS开发】提交构建版本出错:ERROR ITMS-90635
- cocopods【 审核报错】提交构建版本出错:ERROR ITMS-90635
- iOS提交AppStore出现ERROR ITMS-90530 And ITMS-90502
- iOS提交失败 ERROR ITMS-90682
- IOS app上交提交包时出现ERROR ITMS-90535 ITMS-90542 ITMS-90207
- iOS项目集成BongSDK,打包提交报@“ERROR ITMS-90171 和ERROR ITMS-90206”错误
- iOS 添加翼支付打包上传出错 ERROR ITMS-90535
- iOS 提交报错 Error ITMS-90635 - Invalid Mach-O in bundle - submitting to App store
- iOS 提交报错 Error ITMS-90635 - Invalid Mach-O in bundle - submitting to App store
- iOS提交新版本报错error itms-90049
- iOS开发 提交构建版本 在AppStore后台找不到构建版本 iOS10 xcode8
- 提交ipa出错:ERROR ITMS-90167: "No .app bundles found in the package"
- iOS开发打包上传报错ERROR ITMS-90096
- ios 提交错误 ITMS-90096
- AppStore提交出错 ITMS-90034错误
- Xcode上线,构建版本时上传遇到ERROR ITMS-90535 Unexpected CFBundleExecutable Key. 的解决办法
- phonegap2.9 ios提交app 报"ERROR ITMS-90086"错误,如何支持64位ios
- iOS-ERROR ITMS-90096
- Shell编程实现俄罗斯方块游戏(一步步详解)一
- Struts2
- mysql100万级别的数据批量插入
- JavaScript学习笔记三:数组
- Dom-对节点的增删改查,替换
- 【iOS开发】提交构建版本出错:ERROR ITMS-90635
- Apache Flink fault tolerance源码剖析(四)
- Java中的网络支持
- Git 代码托管-项目上传
- 链接分析算法之:HITS算法
- SICP 1.3.4 牛顿法
- 深度优先搜索
- Hibernate 检索策略
- C#调用Windows API实现自动登录