nativescript 9.0.4-dev.2 → 9.0.4-dev.3

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.
@@ -72,6 +72,11 @@ class XcodebuildArgsService {
72
72
  .concat(architectures)
73
73
  .concat(this.getBuildCommonArgs(platformData, projectData, isvisionOS ? ios_project_service_1.VisionDevicePlatformSdkName : ios_project_service_1.DevicePlatformSdkName))
74
74
  .concat(this.getBuildLoggingArgs());
75
+ // pbxproj-dom sets CODE_SIGN_IDENTITY[sdk=iphoneos*] which doesn't match
76
+ // the xros SDK used by visionOS builds — pass it explicitly as an override
77
+ if (isvisionOS) {
78
+ args.push(`CODE_SIGN_IDENTITY=${buildConfig.release ? "Apple Distribution" : "Apple Development"}`);
79
+ }
75
80
  return args;
76
81
  }
77
82
  async getArchitecturesArgs(buildConfig) {
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.2",
4
+ "version": "9.0.4-dev.3",
5
5
  "author": "NativeScript <oss@nativescript.org>",
6
6
  "description": "Command-line interface for building NativeScript projects",
7
7
  "bin": {