From 037a44df5968c54cbb05c79034dcc2350aadee3e Mon Sep 17 00:00:00 2001 From: Dimitar Kerezov Date: Fri, 5 Feb 2016 10:15:58 +0200 Subject: [PATCH] Don't code sign upon simulator build Apparently xcodebuild whith xcode 7.2 attempts to code sign the simulator build when CODE_SIGN_IDENTITY is set. This variable is set to `iPhone Developer` in the `build.xcconfig` generated. For reasons beyond me though this code signing attempt fails with **CodeSign error: entitlements are required for product type 'Application' in SDK 'Simulator - iOS 9.2'. Your Xcode installation may be damaged.** Explicitly setting code signing to **Don't code sign** effectively resolves the issue. --- lib/services/ios-project-service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/services/ios-project-service.ts b/lib/services/ios-project-service.ts index a889b48b5f..aea0609113 100644 --- a/lib/services/ios-project-service.ts +++ b/lib/services/ios-project-service.ts @@ -199,7 +199,8 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ "-sdk", "iphonesimulator", "-arch", "i386", "VALID_ARCHS=\"i386\"", - "CONFIGURATION_BUILD_DIR=" + path.join(projectRoot, "build", "emulator") + "CONFIGURATION_BUILD_DIR=" + path.join(projectRoot, "build", "emulator"), + "CODE_SIGN_IDENTITY=" ]); }