Skip to content

Instantly share code, notes, and snippets.

@brendanzagaeski
Last active May 8, 2018 02:34
Show Gist options
  • Save brendanzagaeski/9220557 to your computer and use it in GitHub Desktop.
Save brendanzagaeski/9220557 to your computer and use it in GitHub Desktop.
A couple ways to submit (publish, upload) a Visual Studio Xamarin.iOS app to the App Store

A couple ways to submit (publish, upload) a Visual Studio Xamarin.iOS app to the App Store

Option 1: upload an IPA created via the "Build Adhoc IPA" command

  1. Pick the "Ad-Hoc" build configuration.

  2. Change the provisioning profile in "project options -> iOS Bundle Signing" to an AppStore provisioning profile.

  3. Rebuild the project.

  4. Select "Tools -> iOS -> Publish iOS App". This will build the IPA and then automatically open Application Loader on the Mac build host and show the generated IPA.

  5. Submit the IPA via Application Loader.

Option 2: upload a zipped .app bundle

  1. Pick the "AppStore", "iPhone" build configuration.

  2. Double-check that the provisioning profile in "project options -> iOS Bundle Signing" is an AppStore provisioning profile.

  3. Rebuild the project. Then press the "Start" button to perform the remote build step and attempt to deploy to device. Note that the deploy will fail because the provisioning profile is not intended for this usage.

  4. Find the resulting .app bundle in the build cache folder on the Mac build host:

~/Library/Caches/Xamarin/mtbs/builds/YourAppName/{project-guid}/output/Release/iPhone/YourAppName.app
  1. Zip up the .app bundle, for example by running the following command in Terminal.app:
zip -r YourAppName.app.zip YourAppName.app
  1. Open Application Loader, click the "Deliver Your App" button, and select the .app.zip file when prompted.
@softlion
Copy link

Both options does not work.

option 1: "Submit the IPA via Application Loader." => how ?

option 2: after "Open Application Loader, click the "Deliver Your App" button,"; you can not select any file.

@softlion
Copy link

I think you have to create the app (or add a version of the app) in itunes connect first. When done you'll get new options in Application Loader after cliking "Deliver Your App".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment