Created
September 18, 2017 20:17
-
-
Save Hendrik44/8ab3ce687f04c632db59a1772419703d to your computer and use it in GitHub Desktop.
FIX invalid-bundle error Xcode 9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This describes a fix for: | |
# "Invalid Bundle - Disallowed LLVM instrumentation. Do not submit apps with LLVM profiling instrumentation or coverage collection enabled. Turn off LLVM profiling or code coverage, rebuild your app and resubmit the app." | |
# 1. Go to your Project root directory and run the following command: | |
carthage update | |
# 2. Set test-coverage for all frameworks to NO | |
grep -lR "codeCoverageEnabled" --include *.xcscheme --null Carthage | xargs -0 sed -i '' -e 's/codeCoverageEnabled = "YES"/codeCoverageEnabled = "NO"/g' | |
# 3. build your modified carthage checkouts/frameworks | |
carthage build --platform iOS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment