昨晚上传项目到AppStore,报了这个错,纳尼!?我早上还能成功上传的,当时判断是晚上网速问题致使的,早上再次试了下,仍是同样报错,由于CocoPods导入的框架bitCode不一致致使的,解决方案是在Podfile后面加上html
而后 pod install --no-repo-update
若是 pod install 报错,报错以下: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
[!] Invalid `Podfile` file: syntax error, unexpected tCONSTANT, expecting end-of-input框架
...ig.build_settings['OTHER_CFLAGS'] || ['$(inherited)']post
... ^. Updating CocoaPods might fix the issue.ui
那就须要先删除以前Podfile里面加的post_install do |installer|...... ,而后pod update, 在update以前记得给第三方框架指定一个版本(某些框架最新的可能在你项目没法使用,出现bug),升级后再次执行上面的步骤