How to sign and create .IPA files for iOS apps with a simple script using xcodebuild. Support multiple configurations.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Config
SigningTest.xcodeproj
SigningTest
exportOptions
.gitignore
README.md
build.sh

README.md

SigningTest

An app for demonstrating signing iOS apps on the command line using xcodebuild.

setup

These instructions have been tested against Xcode 9.2

  • checkout SigningTestApp project from Github

  • Open and search project for 'DEVELOPMENT_TEAM'. It'll be set to ' YOURTEAMHERE'. Replace with your Apple Team ID

  • from Terminal/Finder, from the project folder

  • modify exportOptions/store.plist * "teamID":"YOURTEAMHERE". Replace with your Apple Team ID * provisioningProfiles. Map your bundle ID to your provisioning profile name. Replace BUNDLE_ID, PROVISIONING_PROFILE_NAME with your app store build information

  • modify exportOptions/adhoc.plist * "teamID":"YOURTEAMHERE". Replace with your Apple Team ID * provisioningProfiles. Map your bundle ID to your provisioning profile name. Replace BUNDLE_ID, PROVISIONING_PROFILE_NAME for your adhoc build information

  • Modify or delete xcConfig files to match your setup. You'll need to choose a product name, bundle ID and provisioning profile

run

from your root project, run ./build.sh [Debug|Staging|Release]

Output

.ipa file created in ./build folder in root of project