@@ -79,7 +79,7 @@ module.exports.run = function (runOptions) {
79
79
var ipafile = path . join ( buildOutputDir , projectName + '.ipa' ) ;
80
80
81
81
// unpack the existing platform/ios/build/device/appname.ipa (zipfile), will create a Payload folder
82
- return superspawn . spawn ( 'unzip' , [ '-o' , '-qq' , ipafile ] , { cwd : buildOutputDir } ) ;
82
+ return superspawn . spawn ( 'unzip' , [ '-o' , '-qq' , ipafile ] , { cwd : buildOutputDir , printCommand : true } ) ;
83
83
} )
84
84
. then ( function ( ) {
85
85
// Uncompress IPA (zip file)
@@ -148,7 +148,7 @@ function filterSupportedArgs (args) {
148
148
* @return {Promise } Fullfilled when any device is connected, rejected otherwise
149
149
*/
150
150
function checkDeviceConnected ( ) {
151
- return superspawn . spawn ( 'ios-deploy' , [ '-c' , '-t' , '1' ] ) ;
151
+ return superspawn . spawn ( 'ios-deploy' , [ '-c' , '-t' , '1' ] , { printCommand : true } ) ;
152
152
}
153
153
154
154
/**
@@ -160,9 +160,9 @@ function checkDeviceConnected () {
160
160
function deployToDevice ( appPath , target , extraArgs ) {
161
161
// Deploying to device...
162
162
if ( target ) {
163
- return superspawn . spawn ( 'ios-deploy' , [ '--justlaunch' , '-d' , '-b' , appPath , '-i' , target ] . concat ( extraArgs ) ) ;
163
+ return superspawn . spawn ( 'ios-deploy' , [ '--justlaunch' , '-d' , '-b' , appPath , '-i' , target ] . concat ( extraArgs ) , { printCommand : true } ) ;
164
164
} else {
165
- return superspawn . spawn ( 'ios-deploy' , [ '--justlaunch' , '--no-wifi' , '-d' , '-b' , appPath ] . concat ( extraArgs ) ) ;
165
+ return superspawn . spawn ( 'ios-deploy' , [ '--justlaunch' , '--no-wifi' , '-d' , '-b' , appPath ] . concat ( extraArgs ) , { printCommand : true } ) ;
166
166
}
167
167
}
168
168
0 commit comments