docs: function _createIpa(projectPath, args) {
  
      return utilities.getInstalledPlatformVersion(projectPath, 'ios').then(function (version) {
          if (semver.lt(version, '3.9.0')) {
              var deferred = Q.defer();
              glob(projectPath + '/platforms/ios/build/device/*.app', function (err, matches) {
                  if (err) {
                      deferred.reject(err);
                  } else {
                      if (matches.length != 1) {
                          console.warn('Skipping packaging. Expected one device .app - found ' + matches.length);
                      } else {
                          var cmdString = 'xcrun -sdk iphoneos PackageApplication \'' + matches[0] + '\' -o \'' +
                              path.join(path.dirname(matches[0]), path.basename(matches[0], '.app')) + '.ipa\' ';
                          
                          // Add additional command line args passed 
                          var callArgs = utilities.getCallArgs('ios', args);
                          callArgs.options.forEach(function (arg) {
                              cmdString += ' ' + arg;
                          });
  
                          console.log('Exec: ' + cmdString);
                          return exec(cmdString)
                              .then(utilities.handleExecReturn)
                              .fail(function (err) {
                              deferred.reject(err);
                          })
                              .done(function () {
                              deferred.resolve();
                          });
                      }
                  }
              });
  
              return deferred.promise;
          } else {
              console.log('Skipping packaging. Detected cordova-ios verison that auto-creates ipa.');
          }
      });
  }