-
-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement tns publish ios
#1558
Conversation
if (!this._itmsTransporterPath) { | ||
let sysInfo = this.$sysInfo.getSysInfo(path.join(__dirname, "..", "..", this.$staticConfig.PROJECT_FILE_NAME)).wait(), | ||
xcodeVersionMatch = sysInfo.xcodeVer.match(/Xcode (.*)/), | ||
result = path.join("/Applications", "Xcode.app", "Contents", "Applications", "Application Loader.app", "Contents"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest using xcode-select --print-path
to get the path to Xcode.app, rather than hard-coding it.
e80b4d8
to
ac70416
Compare
ac70416
to
7f84f3d
Compare
0dd2546
to
c363982
Compare
@@ -44,10 +44,12 @@ Command | Description | |||
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices. | |||
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator. | |||
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices. | |||
[publish](publish.html) | Builds the project and publishes it to an Application Store. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for caps in Application Store.
Usage | Synopsis | ||
---|--- | ||
General | `$ tns appstore upload [<Apple ID> [<Password> [<Mobile Provisioning Profile Identifier> [<Code Sign Identity>]]]]]` | ||
General | `$ tns appstore upload [<Apple ID> [<Password>]] --ipa <Ipa File Path>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two Generals ?!
Consider using something like:
Upload current project
Upload current project with specific Code Sign Identity
Upload built application
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't comprehend why this is in the testing section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of two Generals, go with:
Build and upload package | blah blah
Upload package | blah blah
You need to include the new top-level command in index.md and in readme.md as well. |
General | `$ tns appstore upload [<Apple ID> [<Password> [<Mobile Provisioning Profile Identifier> [<Code Sign Identity>]]]]]` | ||
General | `$ tns appstore upload [<Apple ID> [<Password>]] --ipa <Ipa File Path>` | ||
|
||
Uploads project to iTunes Connect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure to explain that users can issue a production build which will build the project and upload it OR they can pick an already built package and upload it.
45b34d4
to
50a7ff6
Compare
👍 after green build and approve from @ikoevska |
Publishes to itunesconnect via Xcode's iTMS Transporter tool. Introduce itmstransporter-service to talk to the tool along with minor refactorings in the build process, allowing for custom setting of CODE_SIGN_IDENTITY and PROVISIONING_PROFILE during build.
50a7ff6
to
2d40008
Compare
@@ -18,6 +18,7 @@ Command | Description | |||
## Project Development Commands | |||
Command | Description | |||
---|--- | |||
[appstore](project/publishing/appstore.html) | Lists applications registered in iTunes Connect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider a separate section for these.
@ikoevska fixed the final two comments in a separate commit |
## Publishing Commands | ||
Command | Description | ||
---|--- | ||
[appstore](project/publishing/appstore.html) | Lists applications registered in iTunes Connect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding the appstore upload command as well here as it does something completely different.
👍 after addressing my latest (and very last) comment :) |
285cf87
to
1a0709c
Compare
Implement `tns publish ios`
The command has several parameters:
Provisioning Profiles
This is only the iOS part of the implementation -
tns publish android
will be introduced in a subsequent pull request.References: #1172
Merge after: telerik/mobile-cli-lib#609
Ping @rosen-vladimirov and @ligaz for code review and @ikoevska for messaging and help 🐱