大佬教程收集整理的这篇文章主要介绍了ios – Xcode 9,迦太基。 iTunes Connect错误:“无效的捆绑包 – 不允许的LLVM工具”,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
使用Xcode 9我将其上传到App Store。上传成功,没有任何错误。
然后我从Apple发来以下电子邮件:
我去了我的目标和可可豆荚目标的代码覆盖率,这是我能找到的唯一相关设置:
重新提交应用程序,我收到同样的错误。
在我的项目中,我使用的是Carthage,它有超过15个依赖项。在寻找解决方案时,我发现所有项目都需要使用上述设置进行更新。
>是否有任何解决方案可以自动为所有框架设置此设置,如果这导致问题。
>是否有其他人遇到过这个问题并将其整理出来。迦太基框架是否会产生问题或其他问题?
grep -lR "codeCoverageEnabled" --include *.xcscheR_165_11845@e --null Carthage | xargs -0 sed -i '' -e 's/codeCoverageEnabled = "YES"/codeCoverageEnabled = "NO"/g'
使一切正常的顺序如下
>运行carthage update –platform iOS –no-use-binaries –no-build。这将更新和下载所有家属。
当Carthage开始编译时,你可以按ctrl c取消。
>运行以上命令将代码覆盖率设置为NO
>现在一切都已到位运行carthage build –platform iOS。这将构建代码覆盖率为NO的所有内容
您现在可以存档并上传到iTC。
这个命令是由https://github.com/gunterhager给出的,所以归功于他
作为fastlane用户的替代方案,请将以下内容添加到fastlane文件中,该文件将自动执行所有操作:
desc "update Carthage" lane :update_carthage do carthage( command: "update",# One of: build,bootstrap,update,archive. (default: bootstrap) use_binaries: false,# check out dependency repositories even when prebuilt frameworks exist no_build: true,# When bootstrapping Carthage do not build platform: "iOS" # Define which platform to build for (one of ‘all’,‘Mac’,‘iOS’,‘watchOS’,‘tvOS‘,or comma-separated values of the formers except for ‘all’) ) sh("grep -lR 'codeCoverageEnabled' --include *.xcscheR_165_11845@e --null Carthage | xargs -0 sed -i '' -e 's/codeCoverageEnabled = 'YES'/codeCoverageEnabled = 'NO'/g'") carthage( command: "build",archive. (default: bootstrap) platform: "iOS" # Define which platform to build for (one of ‘all’,or comma-separated values of the formers except for ‘all’) ) end
以上是大佬教程为你收集整理的ios – Xcode 9,迦太基。 iTunes Connect错误:“无效的捆绑包 – 不允许的LLVM工具”全部内容,希望文章能够帮你解决ios – Xcode 9,迦太基。 iTunes Connect错误:“无效的捆绑包 – 不允许的LLVM工具”所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。