What tools to upload ipa to itunesconnect?


#1

What tools to upload ipa to itunesconnect?


#2

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


#3

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.


#4

My workflow

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

#5

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:

<key>method</key>
<string>app-store</string>

Also in my build.xcconfig I have

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