Socket
Socket
Sign inDemoInstall

@react-native-community/cli-platform-ios

Package Overview
Dependencies
Maintainers
23
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-community/cli-platform-ios - npm Package Compare versions

Comparing version 2.0.0-alpha.9 to 2.0.0-alpha.13

14

build/commands/runIOS/index.js

@@ -184,2 +184,10 @@ "use strict";

async function runOnDevice(selectedDevice, scheme, xcodeProject, args) {
const isIOSDeployInstalled = _child_process().default.spawnSync('ios-deploy', ['--version'], {
encoding: 'utf8'
});
if (isIOSDeployInstalled.error) {
throw new (_cliTools().CLIError)(`Failed to install the app on the device because we couldn't execute the "ios-deploy" command. Please install it by running "${_chalk().default.bold('npm install -g ios-deploy')}" and try again.`);
}
const appName = await buildProject(xcodeProject, selectedDevice.udid, scheme, args);

@@ -195,6 +203,6 @@ const iosDeployInstallArgs = ['--bundle', getBuildPath(args.configuration, appName, true, scheme), '--id', selectedDevice.udid, '--justlaunch'];

if (iosDeployOutput.error) {
_cliTools().logger.error('** INSTALLATION FAILED **\nMake sure you have ios-deploy installed globally.\n(e.g "npm install -g ios-deploy")');
} else {
_cliTools().logger.info('** INSTALLATION SUCCEEDED **');
throw new (_cliTools().CLIError)(`Failed to install the app on the device. We've encountered an error in "ios-deploy" command: ${iosDeployOutput.error.message}`);
}
return _cliTools().logger.success('Installed the app on the device.');
}

@@ -201,0 +209,0 @@

{
"name": "@react-native-community/cli-platform-ios",
"version": "2.0.0-alpha.9",
"version": "2.0.0-alpha.13",
"main": "build/index.js",
"dependencies": {
"@react-native-community/cli-tools": "^2.0.0-alpha.8",
"@react-native-community/cli-tools": "^2.0.0-alpha.13",
"chalk": "^1.1.1",

@@ -14,3 +14,3 @@ "xcode": "^2.0.0"

],
"gitHead": "e7eeea4a808ff002108f5ef4d7c79a23c334a642"
"gitHead": "827daa4c1687f8d17eb7df46e1a2ec25640c7797"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc