What tools to upload ipa to itunesconnect?


What tools to upload ipa to itunesconnect?


you can do it via the CLI or Xcode as per the docs


I used xcode to get all the settings just right… IE updating info.plist settings and entitlements etc… but once all that was squared away I used the cli to push up my build.


My workflow

  • tns build ios --release
  • Open Workspace in XCode
  • Archive
  • Upload


You can do it all from the command line… I use the following cli commands

  • tns build ios --release --for-device
  • tns publish ios --ipa /path_to_your_ip.ipa

However I had a lot of trouble getting it to work because it wasn’t using the correct provisioning profile. The key piece for me at least was to add the following to my info.plist file:


Also in my build.xcconfig I have

CODE_SIGN_IDENTITY = iPhone Distribution: blah (xxxxxx);
PROVISIONING_PROFILE = xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx;
DEVELOPMENT_TEAM = xxxxxxxxxx;