发布报错:Error ITMS-90635 - Invalid Mach-O in bundle - submitting to App store
2016-06-16 17:49
661 查看
发布报错:Error ITMS-90635 - Invalid Mach-O in bundle - submitting to App store
昨晚上传项目到AppStore,报了这个错,纳尼!?我早上还能成功上传的,当时判断是晚上网速问题导致的,早上再次试了下,还是一样报错,因为CocoPods导入的框架bitCode不一致导致的,解决方案是在Podfile后面加上post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['ENABLE_BITCODE'] = 'NO' end end end
然后 pod install --no-repo-update
如果 pod install 报错,报错如下:[/code]
[!] Invalid `Podfile` file: syntax error, unexpected tCONSTANT, expecting end-of-input
...ig.build_settings['OTHER_CFLAGS'] || ['$(inherited)']
... ^. Updating CocoaPods might fix the issue.
那就需要先删除之前Podfile里面加的[code]post_install do |installer|...... ,然后pod update, 在update之前记得给第三方框架指定一个版本(某些框架最新的可能在你项目无法使用,出现bug),升级后再次执行上面的步骤
相关文章推荐
- IOS 传感器Core Motion相关简述
- Android studio 上SVN的使用和配置
- iOS >> POST 上传数据(文件压缩)>>表单上传 (如何设置form格式)
- iOS与HTML5交互方法总结
- iOS 布尔值转换中文 以及布尔值的打印
- iOS应用性能调优建议
- android 中 Drawable 和 ConstantState 的一些认识
- iOS NSDictionaryOfVariableBindings “#”的迷雾
- Hibernate笔记_object state
- 动手撸一个金馆长表情库——爬虫及异步请求
- CABasicAnimation的基本使用方法(移动·旋转·放大·缩小)
- 利用Android回调机制对Dialog进行简单封装
- AndroidStudio常见错误
- Android 自定义View——View 基础知识
- Android Studio 1.5 注解配置
- Android开发 时间戳转换工具类
- iOS开发中 应用内直接跳转到APP Store
- ios initialize和init等方法
- 【Android】不弹root请求框检测手机是否root
- android --webView使用