on master help sign in
Add iOS packaging instructions
commitce9f299fdfc4b9a8fa6e62f2e4b7bb3d420433ab authorAlexandre Esteves <alexandre.fmp.esteves@gmail.com> dateTue 22 May 2018, 21:57 (8 years ago) parent0a420ba
1 file changed+12−4
README.md+12−4
README.md+12−4
@@ -152,11 +152,19 @@ Ensure that `bundleIdentifier` matches the App ID of the development profile, or
152152#### Deploying
1531531. Connect the registered iPhone.
1541541. Find your Apple Team ID in the [developer portal](https://developer.apple.com/account/#/membership).
155−1. Run the deploy command with the Team ID as argument, e.g.
155+1. Run the deploy command with your Team ID:
156156```
157−ios-result/bin/deploy XXXXXXXXXX
158−# or in debug mode:
159−ios-result/bin/deploy -d XXXXXXXXXX
157+ios-result/bin/deploy [TEAM_ID]
158+# or in debug mode via lldb:
159+ios-result/bin/deploy [TEAM_ID] -d
160+```
161+
162+#### Packaging
163+1. Go to [developer portal - distribution profiles](https://developer.apple.com/account/ios/profile/production).
164+Create and download a distribution profile.
165+1. Run the package script with your TEAM ID and your distribution profile to create a `.ipa`:
166+```
167+ios-result/bin/package [TEAM_ID] /path/to/output/.ipa /path/to/profile/file
160168```
161169
162170#### Debugging