You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uses the provided Apple credentials to obtain Apple session which can be used when publishing to Apple AppStore.
11
+
12
+
### Commands
13
+
14
+
Usage | Synopsis
15
+
---|---
16
+
General | `$ tns apple-login [<Apple ID>] [<Password>]`
17
+
18
+
### Arguments
19
+
20
+
*`<Apple ID>` and `<Password>` are your credentials for logging into iTunes Connect.
21
+
22
+
<% if(isHtml) { %>s
23
+
24
+
### Related Commands
25
+
26
+
Command | Description
27
+
----------|----------
28
+
[appstore](appstore.html) | Lists applications registered in iTunes Connect.
29
+
[appstore upload](appstore-upload.html) | Uploads project to iTunes Connect.
30
+
[build](../project/testing/build.html) | Builds the project for the selected target platform and produces an application package that you can manually deploy on device or in the native emulator.
31
+
[build ios](../project/testing/build-ios.html) | Builds the project for iOS and produces an APP or IPA that you can manually deploy in the iOS Simulator or on device, respectively.
32
+
[deploy](../project/testing/deploy.html) | Builds and deploys the project to a connected physical or virtual device.
33
+
[run](../project/testing/run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
34
+
[run ios](../project/testing/run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
Copy file name to clipboardExpand all lines: docs/man_pages/publishing/appstore-upload.md
+3
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ position: 1
8
8
### Description
9
9
10
10
Uploads project to iTunes Connect. The command either issues a production build and uploads it to iTunes Connect, or uses an already built package to upload.
11
+
The user will be prompted interactively for verification code when two-factor authentication enabled account is used. As on non-interactive console (CI), you will not be prompt for verification code. In this case, you need to generate a login session for your apple's account in advance using `tns apple-login` command. The generated value must be provided via the `--appleSessionBase64` option and is only valid for up to a month. Meaning you'll need to create a new session every month.
11
12
12
13
<% if(isConsole && (isLinux || isWindows)) { %>WARNING: You can run this command only on macOS systems. To view the complete help for this command, run `$ tns help appstore upload`<% } %>
Copy file name to clipboardExpand all lines: docs/man_pages/publishing/publish-ios.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ position: 3
8
8
### Description
9
9
10
10
Uploads project to iTunes Connect. The command either issues a production build and uploads it to iTunes Connect, or uses an already built package to upload.
11
+
The user will be prompted interactively for verification code when two-factor authentication enabled account is used. As on non-interactive console (CI), you will not be prompt for verification code. In this case, you need to generate a login session for your apple's account in advance using `tns apple-login` command. The generated value must be provided via the `--appleSessionBase64` option and is only valid for up to a month. Meaning you'll need to create a new session every month.
11
12
12
13
<% if(isConsole && (isLinux || isWindows)) { %>WARNING: You can run this command only on macOS systems. To view the complete help for this command, run `$ tns help publish ios`<% } %>
*`--ipa` - If set, will use provided .ipa file instead of building the project.
26
27
*`--team-id` - Specified the team id for which Xcode will try to find distribution certificate and provisioning profile when exporting for AppStore submission.
27
-
28
+
*`--appleApplicationSpecificPassword` - Specifies the password for accessing the information you store in iTunes Transporter application.
29
+
*`--appleSessionBase64` - The session that will be used instead of triggering a new login each time NativeScript CLI communicates with Apple's APIs.
30
+
28
31
### Arguments
29
32
30
33
*`<Apple ID>` and `<Password>` are your credentials for logging into iTunes Connect.
this.$errors.failWithoutHelp(`Invalid username and password combination. Used '${username}' as the username.`);
49
+
}
50
+
41
51
if(!mobileProvisionIdentifier&&!ipaFilePath){
42
52
this.$logger.warn("No mobile provision identifier set. A default mobile provision will be used. You can set one in app/App_Resources/iOS/build.xcconfig");
43
53
}
@@ -69,8 +79,9 @@ export class PublishIOS implements ICommand {
this.$logger.error(`You can run ${EOL}\t${clientNameLowerCase} proxy set <url> <username> <password>.${EOL}In order to supply ${clientNameLowerCase} with the credentials needed.`);
0 commit comments