File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -189,8 +189,12 @@ export namespace ProjectService {
189189 Logger . log ( `building project for ${ platform } ...` ) ;
190190 const cwd = path . join ( testDirectory , projectName ) ;
191191 if ( platform === 'ios' ) {
192- // TODO: change this after it expires in August 2019
193- options += ' --provision /tns-official/CodeSign/ios/Icenium_QA_Development.mobileprovision --certificate /tns-official/CodeSign/ios/iPhone\\ Developer\\ Dragon\\ Telerikov\\ \\(R58QAA9NR8\\).p12 --certificatePassword 1' ;
192+ if ( cloudEnabled ) {
193+ // TODO: change this after it expires in August 2019
194+ options += ' --provision /tns-official/CodeSign/ios/Icenium_QA_Development.mobileprovision --certificate /tns-official/CodeSign/ios/iPhone\\ Developer\\ Dragon\\ Telerikov\\ \\(R58QAA9NR8\\).p12 --certificatePassword 1' ;
195+ } else {
196+ options += ' --release --for-device --provision $PROVISIONING' ;
197+ }
194198 }
195199 const command = cloudEnabled ? `tns cloud build ${ platform } --accountId 1 ${ options } ` : `tns build ${ platform } ${ options } ` ;
196200 const result = await execPromise ( cwd , command ) ;
You can’t perform that action at this time.
0 commit comments