Skip to content

Commit b02ed47

Browse files
authored
Merge pull request #1961 from NativeScript/raikov/xcode-8-support
Added support for Xcode 8 and iOS 10
2 parents 065c759 + 38de16a commit b02ed47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/services/ios-project-service.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
293293
} else {
294294
args = basicArgs.concat([
295295
"-sdk", "iphonesimulator",
296-
"-arch", "i386",
297-
'VALID_ARCHS="i386"',
296+
"-arch", "x86_64",
297+
"VALID_ARCHS=i386 x86_64",
298298
"CONFIGURATION_BUILD_DIR=" + path.join(projectRoot, "build", "emulator"),
299299
"CODE_SIGN_IDENTITY="
300300
]);
@@ -834,7 +834,7 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
834834
this.$errors.failWithoutHelp(`The bundle at ${libraryPath} does not contain a valid static library in the '.a' file format.`);
835835
}
836836

837-
let expectedArchs = ["armv7", "arm64", "i386"];
837+
let expectedArchs = ["armv7", "arm64", "i386", "x86_64"];
838838
let archsInTheFatFile = this.$childProcess.exec("lipo -i " + libraryPath).wait();
839839

840840
expectedArchs.forEach(expectedArch => {

0 commit comments

Comments
 (0)