Created
April 13, 2020 01:13
-
-
Save colejhudson/47b06f81873b4bee5b9ecd7052159f5a to your computer and use it in GitHub Desktop.
Create an IPA from an Xcode project.
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>method</key> | |
| <string>development</string> | |
| <key>compileBitcode</key> | |
| <false/> | |
| </dict> | |
| </plist> |
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
| #!/usr/bin/env bash | |
| NAME=Example | |
| # Create .xcarchive | |
| xcodebuild -sdk iphoneos archive | |
| # Create .ipa | |
| xcodebuild -exportArchive -archivePath /tmp/${NAME}.xcarchive -exportOptionsPlist exportOptions.plist -exportPath /tmp/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment