Skip to content

Commit 1e1019d

Browse files
committed
fix: try using node to get the ios provision
1 parent 130e6d5 commit 1e1019d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/project.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ export namespace ProjectService {
193193
// TODO: change this after it expires in August 2019
194194
options += ' --provision /tns-official/CodeSign/ios/Icenium_QA_Development.mobileprovision --certificate /tns-official/CodeSign/ios/iPhone\\ Developer\\ Dragon\\ Telerikov\\ \\(R58QAA9NR8\\).p12 --certificatePassword 1';
195195
} else {
196-
options += ' --release --for-device --provision $PROVISIONING';
196+
const profile = process.env.PROVISIONING;
197+
options += ` --release --for-device --provision ${profile}`;
197198
}
198199
}
199200
const command = cloudEnabled ? `tns cloud build ${platform} --accountId 1 ${options}` : `tns build ${platform} ${options}`;

0 commit comments

Comments
 (0)