Skip to content

Instantly share code, notes, and snippets.

@colejhudson
Created April 13, 2020 01:13
Show Gist options
  • Select an option

  • Save colejhudson/47b06f81873b4bee5b9ecd7052159f5a to your computer and use it in GitHub Desktop.

Select an option

Save colejhudson/47b06f81873b4bee5b9ecd7052159f5a to your computer and use it in GitHub Desktop.
Create an IPA from an Xcode project.
<?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>
#!/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