From 38de16a0db31609399f30d415864a54678c04eb3 Mon Sep 17 00:00:00 2001 From: Tsvetan Raikov Date: Thu, 28 Jul 2016 13:59:18 +0300 Subject: [PATCH] Added support for Xcode 8 and iOS 10 --- lib/services/ios-project-service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/services/ios-project-service.ts b/lib/services/ios-project-service.ts index bee296b7fe..3952775f2c 100644 --- a/lib/services/ios-project-service.ts +++ b/lib/services/ios-project-service.ts @@ -293,8 +293,8 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ } else { args = basicArgs.concat([ "-sdk", "iphonesimulator", - "-arch", "i386", - 'VALID_ARCHS="i386"', + "-arch", "x86_64", + "VALID_ARCHS=i386 x86_64", "CONFIGURATION_BUILD_DIR=" + path.join(projectRoot, "build", "emulator"), "CODE_SIGN_IDENTITY=" ]); @@ -834,7 +834,7 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f this.$errors.failWithoutHelp(`The bundle at ${libraryPath} does not contain a valid static library in the '.a' file format.`); } - let expectedArchs = ["armv7", "arm64", "i386"]; + let expectedArchs = ["armv7", "arm64", "i386", "x86_64"]; let archsInTheFatFile = this.$childProcess.exec("lipo -i " + libraryPath).wait(); expectedArchs.forEach(expectedArch => {