var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.taskRnvCryptoUpdateProfile=void 0;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _fastlane=require("../sdk-xcode/fastlane");
var _logger=require("../core/systemManager/logger");
var _engineManager=require("../core/engineManager");
var _constants=require("../core/constants");


var taskRnvCryptoUpdateProfile=function taskRnvCryptoUpdateProfile(c,parentTask,originTask){return _regenerator.default.async(function taskRnvCryptoUpdateProfile$(_context){while(1){switch(_context.prev=_context.next){case 0:
(0,_logger.logTask)('taskRnvCryptoUpdateProfile');_context.next=3;return _regenerator.default.awrap(

(0,_engineManager.executeTask)(c,_constants.TASK_PROJECT_CONFIGURE,_constants.TASK_CRYPTO_UPDATE_PROFILE,originTask));case 3:_context.next=5;return _regenerator.default.awrap(

(0,_fastlane.updateProfile)(c));case 5:case"end":return _context.stop();}}},null,null,null,Promise);};exports.taskRnvCryptoUpdateProfile=taskRnvCryptoUpdateProfile;var _default=


{
description:'Update provisioning profile',
fn:taskRnvCryptoUpdateProfile,
task:_constants.TASK_CRYPTO_UPDATE_PROFILE,
params:_constants.PARAMS.withBase(),
platforms:[_constants.IOS,_constants.TVOS],
skipPlatforms:true};exports.default=_default;
//# sourceMappingURL=task.rnv.crypto.updateProfile.js.map