Skip to content

Commit 037a44d

Browse files
author
Dimitar Kerezov
committed
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.
1 parent f2ed563 commit 037a44d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/services/ios-project-service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ
199199
"-sdk", "iphonesimulator",
200200
"-arch", "i386",
201201
"VALID_ARCHS=\"i386\"",
202-
"CONFIGURATION_BUILD_DIR=" + path.join(projectRoot, "build", "emulator")
202+
"CONFIGURATION_BUILD_DIR=" + path.join(projectRoot, "build", "emulator"),
203+
"CODE_SIGN_IDENTITY="
203204
]);
204205
}
205206

0 commit comments

Comments
 (0)