From 96777258bbdac36d6ed522434dc3f2b5de534f81 Mon Sep 17 00:00:00 2001 From: Definitely-Not-Vlad Date: Thu, 4 Aug 2022 12:38:27 +0200 Subject: [PATCH] Revert changes from cancelled release --- package.json | 2 +- src/services/platform.js | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index cecfd04..4badda9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@shoutem/cli", - "version": "0.14.5-rc.0", + "version": "0.14.4", "description": "Command-line tools for Shoutem applications", "repository": { "type": "git", diff --git a/src/services/platform.js b/src/services/platform.js index 54660d2..ae5f94f 100644 --- a/src/services/platform.js +++ b/src/services/platform.js @@ -93,17 +93,8 @@ export async function setPlatformConfig(platformDir, mobileConfig) { } export async function configurePlatform(platformDir) { - const config = await readJson( - path.join(platformDir, 'config.json'), - ); - const { nativeBuildOs = 'ios' } = config; - await reactNative.ensureInstalled(); - if ( - process.platform === 'darwin' && - nativeBuildOs === 'ios' && - !(await commandExists('pod')) - ) { + if (process.platform === 'darwin' && !(await commandExists('pod'))) { throw new Error( 'Missing `pods` command. Please install cocoapods and run `shoutem configure` in the ' + `${platformDir} directory`,