Skip to content

Instantly share code, notes, and snippets.

@rrroyal
Created June 8, 2020 15:53
Show Gist options
  • Save rrroyal/19d4334ac470ebdaee30987b745d3e97 to your computer and use it in GitHub Desktop.
Save rrroyal/19d4334ac470ebdaee30987b745d3e97 to your computer and use it in GitHub Desktop.
Exporting the .ipa files without the Apple distribution certificate.
<?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>
</dict>
</plist>
xcodebuild -project "<PROJECTFILE_PATH>.xcodeproj" -scheme <SCHEME_NAME> clean archive -archivePath "<ARCHIVE_PATH>.xcarchive"
xcodebuild -allowProvisioningUpdates -exportArchive -archivePath "<ARCHIVE_PATH>.xcarchive" -exportPath "<EXPORT_FILE>" -exportOptionsPlist "./export-options.plist"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment