-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add a package/publish command for iOS #1172
Comments
I like the idea, just to mention that we already have |
I think an exported IPA does not contain debug symbols, while xcodearchive does. |
@PanayotCankov a regular build in Regardless of the way the |
We use a CI server to test, then post a properly signed adhoc IPA to installr for testing. |
Implemented for ios |
iOS' implementation includes the following two commands For more information about both run |
Command is available, so this issue will be closed. |
We still can't produce xcodearchive from the command line. |
Right now a lot of our users rely on opening the Xcode project in
platforms/ios
and manually going through Xcode's Archive step in order to submit a binary to the store.xcodebuild
has anarchive
action that performs the same kind of build. Xcode's toolchain attaches additional meaning toarchive
builds - for instance, onlyarchive
triggers full Bitcode generation as opposed to markers-only generation in regular builds of projects that enable Bitcode. So it's not the same as doing a normal build in theRelease
configuration.I propose that a new command is added to the CLI, one that invokes
xcodebuild archive
internally, and depending on switches either reveals the created archive in Xcode's Organizer, runs a validation or even initiates App Store publishing right from the command-line. Ideally, this new command will be hook-able so that actions that make sense for App Store builds can run.I'm not familiar whether there's a special kind of build that has to be done for Android in order to get the app in Store-ready state, but I think that what this command can do for both Android and iOS is to always codesign with distribution credentials and allow the resulting package to be saved in a custom location, rather than the platform folder.
Examples:
tns package ios --archive
- performxcodebuild archive
and open the archive in Xcode. Could be the default action.tns package ios --output <path-to-new-ipa-location>
tns package ios --verify
- runitmstransporter
's verification on the archivetns package ios --publish
- runitmstransporter
s publish step interactivelytns package android --output <path-to-new-apk-location>
The text was updated successfully, but these errors were encountered: