nativescript 9.0.4-dev.0 → 9.0.4-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,11 +8,12 @@ const _ = require("lodash");
|
|
|
8
8
|
const yok_1 = require("../../common/yok");
|
|
9
9
|
const constants = require("../../constants");
|
|
10
10
|
class IOSSigningService {
|
|
11
|
-
constructor($errors, $fs, $iOSProvisionService, $logger, $pbxprojDomXcode, $prompter, $xcconfigService, $xcprojService) {
|
|
11
|
+
constructor($errors, $fs, $iOSProvisionService, $logger, $options, $pbxprojDomXcode, $prompter, $xcconfigService, $xcprojService) {
|
|
12
12
|
this.$errors = $errors;
|
|
13
13
|
this.$fs = $fs;
|
|
14
14
|
this.$iOSProvisionService = $iOSProvisionService;
|
|
15
15
|
this.$logger = $logger;
|
|
16
|
+
this.$options = $options;
|
|
16
17
|
this.$pbxprojDomXcode = $pbxprojDomXcode;
|
|
17
18
|
this.$prompter = $prompter;
|
|
18
19
|
this.$xcconfigService = $xcconfigService;
|
|
@@ -150,6 +151,7 @@ class IOSSigningService {
|
|
|
150
151
|
return [];
|
|
151
152
|
}
|
|
152
153
|
async getManualSigningConfiguration(projectData, provision, mobileProvisionData) {
|
|
154
|
+
var _a;
|
|
153
155
|
const pickStart = Date.now();
|
|
154
156
|
const mobileprovision = mobileProvisionData ||
|
|
155
157
|
(await this.$iOSProvisionService.pick(provision, projectData.projectIdentifiers.ios));
|
|
@@ -162,6 +164,7 @@ class IOSSigningService {
|
|
|
162
164
|
if (!mobileprovision) {
|
|
163
165
|
this.$errors.fail("Failed to find mobile provision with UUID or Name: " + provision);
|
|
164
166
|
}
|
|
167
|
+
const isVisionOS = ((_a = this.$options.platformOverride) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === "visionos";
|
|
165
168
|
const configuration = {
|
|
166
169
|
team: mobileprovision.TeamIdentifier &&
|
|
167
170
|
mobileprovision.TeamIdentifier.length > 0
|
|
@@ -170,8 +173,12 @@ class IOSSigningService {
|
|
|
170
173
|
uuid: mobileprovision.UUID,
|
|
171
174
|
name: mobileprovision.Name,
|
|
172
175
|
identity: mobileprovision.Type === "Development"
|
|
173
|
-
?
|
|
174
|
-
|
|
176
|
+
? isVisionOS
|
|
177
|
+
? "Apple Development"
|
|
178
|
+
: "iPhone Developer"
|
|
179
|
+
: isVisionOS
|
|
180
|
+
? "Apple Distribution"
|
|
181
|
+
: "iPhone Distribution",
|
|
175
182
|
};
|
|
176
183
|
return configuration;
|
|
177
184
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nativescript",
|
|
3
3
|
"main": "./lib/nativescript-cli-lib.js",
|
|
4
|
-
"version": "9.0.4-dev.
|
|
4
|
+
"version": "9.0.4-dev.2",
|
|
5
5
|
"author": "NativeScript <oss@nativescript.org>",
|
|
6
6
|
"description": "Command-line interface for building NativeScript projects",
|
|
7
7
|
"bin": {
|