Xcode 9, Carthage. iTunes Connect Error: “Invalid Bundle - Disallowed LLVM instrumentation”

前端 未结 4 1493
野趣味
野趣味 2021-01-30 09:25

Today I downloaded Xcode 9 and made the necessary changes for my application to compile. The application is compiling and running locally without any issues.

Using Xcode

4条回答
  •  一向
    一向 (楼主)
    2021-01-30 10:06

    As quick fix, run these commands in Terminal (be sure to go to your project's root folder):

    • carthage update --platform iOS --no-use-binaries --no-build This will update your dependencies, but will build nothing.

    • grep -lR "codeCoverageEnabled" --include *.xcscheme --null Carthage | xargs -0 sed -i '' -e 's/codeCoverageEnabled = "YES"/codeCoverageEnabled = "NO"/g' This will set code coverage to NO.

    • carthage build --platform iOS This will finally build all frameworks without code coverage.

    Now you can archive your project and upload it to iTunes Connect.

    The nice people at the Carthage project are already working on a more user friendly fix, so be sure to check for releases there.

提交回复
热议问题