Created
June 1, 2015 08:50
-
-
Save mekanics/b8e440f4c5d34ef722b5 to your computer and use it in GitHub Desktop.
Resetting the flag to be able to generate an unsigned IPA iOS application. Because doing that manually after each Xcode update sucks.
This file contains hidden or 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
#!/bin/bash | |
sdkFolder="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/" | |
sdkPlist="SDKSettings.plist" | |
cp ${sdkFolder}${sdkPlist} . && \ | |
/usr/libexec/PlistBuddy -c "Set DefaultProperties:CODE_SIGNING_REQUIRED NO" ./${sdkPlist} && \ | |
sudo mv ${sdkPlist} ${sdkFolder} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment