Skip to content

Commit 823003c

Browse files
committed
fix: able to have release schemes and archive in ios
1 parent 6d1668b commit 823003c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/scripts/ios/enableEntitlements.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
var compare = require('node-version-compare')
66
var IOS_DEPLOYMENT_TARGET = '8.0'
77
var COMMENT_KEY = /_comment$/
8+
var CODESIGNIDENTITY = 'iPhone Developer'
89

910
// entry
1011
module.exports = {
@@ -29,6 +30,7 @@
2930

3031
for (config in configurations) {
3132
buildSettings = configurations[config].buildSettings
33+
buildSettings.CODE_SIGN_IDENTITY = '"' + CODESIGNIDENTITY + '"'
3234
buildSettings.CODE_SIGN_ENTITLEMENTS = '"' + entitlementsFile + '"'
3335

3436
// if deployment target is less then the required one - increase it

0 commit comments

Comments
 (0)