Skip to content

Commit bb20627

Browse files
FatmeFatme
authored andcommitted
Merge pull request #208 from NativeScript/fatme/arm64
Support for arm64 architecture
2 parents 6daace8 + 732798d commit bb20627

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

lib/services/ios-project-service.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,17 @@ class IOSProjectService implements IPlatformProjectService {
125125
"-project", path.join(projectRoot, this.$projectData.projectName + ".xcodeproj"),
126126
"-target", this.$projectData.projectName,
127127
"-configuration", options.release ? "Release" : "Debug",
128-
"build"
128+
"build",
129+
'SHARED_PRECOMPS_DIR=' + path.join(projectRoot, 'build', 'sharedpch')
129130
];
130131
var args: string[] = [];
131132

132133
if(options.device) {
133134
args = basicArgs.concat([
134-
"-xcconfig", path.join(projectRoot, "build.xcconfig"),
135+
"-xcconfig", path.join(projectRoot, this.$projectData.projectName, "build.xcconfig"),
135136
"-sdk", "iphoneos",
136-
"ARCHS=\"armv7\"",
137-
"VALID_ARCHS=\"armv7\"",
137+
'ARCHS=armv7 arm64',
138+
'VALID_ARCHS=armv7 arm64',
138139
"CONFIGURATION_BUILD_DIR=" + path.join(projectRoot, "build", "device")
139140
]);
140141
} else {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"mobile"
2424
],
2525
"dependencies": {
26+
"bplist-parser": "0.0.6",
2627
"bufferpack": "0.0.6",
2728
"byline": "4.1.1",
2829
"colors": "0.6.2",

0 commit comments

Comments
 (0)