Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
29
Versions
209
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.2 to 2.1.0

35

build/commands/runIOS/index.js

@@ -89,3 +89,3 @@ "use strict";

_cliTools().logger.info(`Found Xcode ${xcodeProject.isWorkspace ? 'workspace' : 'project'} ${xcodeProject.name}`);
_cliTools().logger.info(`Found Xcode ${xcodeProject.isWorkspace ? 'workspace' : 'project'} "${_chalk().default.bold(xcodeProject.name)}"`);

@@ -169,3 +169,3 @@ const {

_cliTools().logger.info(`Installing ${appPath}`);
_cliTools().logger.info(`Installing "${_chalk().default.bold(appPath)}"`);

@@ -181,7 +181,11 @@ _child_process().default.spawnSync('xcrun', ['simctl', 'install', selectedSimulator.udid, appPath], {

_cliTools().logger.info(`Launching ${bundleID}`);
_cliTools().logger.info(`Launching "${_chalk().default.bold(bundleID)}"`);
_child_process().default.spawnSync('xcrun', ['simctl', 'launch', selectedSimulator.udid, bundleID], {
stdio: 'inherit'
});
const result = _child_process().default.spawnSync('xcrun', ['simctl', 'launch', selectedSimulator.udid, bundleID]);
if (result.status === 0) {
_cliTools().logger.success('Successfully launched the app on the simulator');
} else {
_cliTools().logger.error('Failed to launch the app on simulator', result.stderr);
}
}

@@ -201,3 +205,3 @@

_cliTools().logger.info(`Installing and launching your app on ${selectedDevice.name}...`);
_cliTools().logger.info(`Installing and launching your app on ${selectedDevice.name}`);

@@ -219,3 +223,3 @@ const iosDeployOutput = _child_process().default.spawnSync('ios-deploy', iosDeployInstallArgs, {

_cliTools().logger.info(`Building using "xcodebuild ${xcodebuildArgs.join(' ')}"`);
_cliTools().logger.info(`Building ${_chalk().default.dim(`(using "xcodebuild ${xcodebuildArgs.join(' ')}")`)}`);

@@ -235,3 +239,4 @@ let xcpretty;

buildProcess.stdout.on('data', data => {
buildOutput += data.toString();
const stringData = data.toString();
buildOutput += stringData;

@@ -241,3 +246,7 @@ if (xcpretty) {

} else {
_cliTools().logger.info(data.toString());
if (_cliTools().logger.isVerbose()) {
_cliTools().logger.debug(stringData);
} else {
process.stdout.write('.');
}
}

@@ -251,2 +260,4 @@ });

xcpretty.stdin.end();
} else {
process.stdout.write('\n');
}

@@ -261,3 +272,3 @@

${xcodeProject.name}.
`, errorOutput));
`, buildOutput + '\n' + errorOutput));
return;

@@ -274,3 +285,3 @@ }

_cliTools().logger.info(`Launching ${simulatorFullName}...`);
_cliTools().logger.info(`Launching ${simulatorFullName}`);

@@ -277,0 +288,0 @@ try {

{
"name": "@react-native-community/cli-platform-ios",
"version": "2.0.2",
"version": "2.1.0",
"main": "build/index.js",

@@ -14,3 +14,3 @@ "dependencies": {

],
"gitHead": "0758bd49a042b71552be71523af3215cd4024e4d"
"gitHead": "34d6f70408505d22877ae721949f614ce077d544"
}
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