code: function getXcodeArgs(projectName, projectPath, configuration, isDevice) {
      var xcodebuildArgs;
      if (isDevice) {
          xcodebuildArgs = [
              '-xcconfig', path.join(__dirname, '..', 'build-' + configuration.toLowerCase() + '.xcconfig'),
              '-project', projectName + '.xcodeproj',
              'ARCHS=armv7 arm64',
              '-target', projectName,
              '-configuration', configuration,
              '-sdk', 'iphoneos',
              'build',
              'VALID_ARCHS=armv7 arm64',
              'CONFIGURATION_BUILD_DIR=' + path.join(projectPath, 'build', 'device'),
              'SHARED_PRECOMPS_DIR=' + path.join(projectPath, 'build', 'sharedpch')
          ];
      } else { // emulator
          xcodebuildArgs = [
              '-xcconfig', path.join(__dirname, '..', 'build-' + configuration.toLowerCase() + '.xcconfig'),
              '-project', projectName + '.xcodeproj',
              'ARCHS=i386',
              '-target', projectName ,
              '-configuration', configuration,
              '-sdk', 'iphonesimulator',
              'build',
              'VALID_ARCHS=i386',
              'CONFIGURATION_BUILD_DIR=' + path.join(projectPath, 'build', 'emulator'),
              'SHARED_PRECOMPS_DIR=' + path.join(projectPath, 'build', 'sharedpch')
          ];
      }
      return xcodebuildArgs;
  }
docs: Returns array of arguments for xcodebuild
  @param  {String}  projectName   Name of xcode project
  @param  {String}  projectPath   Path to project file. Will be used to set CWD for xcodebuild
  @param  {String}  configuration Configuration name: debug|release
  @param  {Boolean} isDevice      Flag that specify target for package (device/emulator)
  @return {Array}                 Array of arguments that could be passed directly to spawn method