Skip to content

Commit 2181995

Browse files
committed
fix(template): Remove VALID_ARCHS from project.pbxproj
The `armv7 arm64` setting is invalid when building for simulator. The reason for not detecting it until now is that it has been overridden with a command line argument passed to `xcodebuild` by {N} CLI. Doing so however prevents users from specifying their own value for ARCHS and VALID_ARCHS settings. See NativeScript/nativescript-cli#4197
1 parent c529170 commit 2181995

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

build/project-template/__PROJECT_NAME__.xcodeproj/project.pbxproj

-4
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@
272272
ONLY_ACTIVE_ARCH = YES;
273273
SDKROOT = iphoneos;
274274
TARGETED_DEVICE_FAMILY = "1,2";
275-
VALID_ARCHS = "armv7 arm64";
276275
};
277276
name = Debug;
278277
};
@@ -307,7 +306,6 @@
307306
SDKROOT = iphoneos;
308307
TARGETED_DEVICE_FAMILY = "1,2";
309308
VALIDATE_PRODUCT = YES;
310-
VALID_ARCHS = "armv7 arm64";
311309
};
312310
name = Release;
313311
};
@@ -326,7 +324,6 @@
326324
INFOPLIST_FILE = "$(SRCROOT)/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist";
327325
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
328326
PRODUCT_NAME = __PROJECT_NAME__;
329-
VALID_ARCHS = "armv7 arm64";
330327
WRAPPER_EXTENSION = app;
331328
};
332329
name = Debug;
@@ -342,7 +339,6 @@
342339
INFOPLIST_FILE = "$(SRCROOT)/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist";
343340
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
344341
PRODUCT_NAME = __PROJECT_NAME__;
345-
VALID_ARCHS = "armv7 arm64";
346342
WRAPPER_EXTENSION = app;
347343
};
348344
name = Release;

0 commit comments

Comments
 (0)