Xcode Build Ios App For Distribution
Ios developers enrolled in the standard program can also distribute an app outside of the app store on up to 100 different devices for testing purposes only.
Xcode build ios app for distribution. The command is similar to when we build the framework through the xcode user interface with the device destination set to generic ios device. Then go to the accounts tab. Now go back to xcode and hit that play button or run ionic cordova run ios device from the command line to install and launch your app on your ios device.
You can select distribute app. On your xcode project menu go to window and select organizer. Choose the generic ios device from the active scheme menu.
Wait for the xcode to archive your project it will open organizer once done. Create a provisioning profile in xcode build your app with ionic cordova build ios prod code sign your app with xcode trust the certificate you code signed your app. Fill in your apple ios developer account details here.
Then go to product archive. Select your application archive then on the right side you will see a distribute app button. Prepare your xcode project for distribution before you upload a build to app store connect or export a build to distribute it outside of the app store.
An archive is a build of your app including debugging information that xcode stores in a bundle. The development one is used for testing while the distribution certificate is used to sign your app bundle for distribution in the app store once it s ready. In xcode select your attached device as the run destination and build and run your app.
Launch xcode 10 and go to your preferences menu. Then under product menu select archive. For more information on simulated apps see running your app in the simulator or on a device.