@react-native-community/cli-platform-ios
Advanced tools
Comparing version 12.0.0 to 12.1.0
@@ -46,2 +46,6 @@ "use strict"; | ||
/** | ||
* Starts iOS device syslog tail | ||
*/ | ||
async function logIOS(_argv, _ctx, args) { | ||
@@ -48,0 +52,0 @@ // Here we're using two command because first command `xcrun simctl list --json devices` outputs `state` but doesn't return `available`. But second command `xcrun xcdevice list` outputs `available` but doesn't output `state`. So we need to connect outputs of both commands. |
@@ -52,4 +52,5 @@ "use strict"; | ||
let fallbackMatch; | ||
for (const versionDescriptor in devices) { | ||
const device = devices[versionDescriptor]; | ||
const sortedDevices = Object.fromEntries(Object.entries(devices).sort((a, b) => Number(b[0].includes('iOS')) - Number(a[0].includes('iOS')))); | ||
for (const versionDescriptor in sortedDevices) { | ||
const device = sortedDevices[versionDescriptor]; | ||
let version = versionDescriptor; | ||
@@ -56,0 +57,0 @@ if (/^com\.apple\.CoreSimulator\.SimRuntime\./g.test(version)) { |
@@ -48,2 +48,3 @@ "use strict"; | ||
} catch (error) { | ||
_cliTools().logger.debug(error); | ||
// "pod" command outputs errors to stdout (at least some of them) | ||
@@ -50,0 +51,0 @@ const stderr = error.stderr || error.stdout; |
{ | ||
"name": "@react-native-community/cli-platform-ios", | ||
"version": "12.0.0", | ||
"version": "12.1.0", | ||
"license": "MIT", | ||
@@ -10,3 +10,3 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@react-native-community/cli-tools": "12.0.0", | ||
"@react-native-community/cli-tools": "12.1.0", | ||
"chalk": "^4.1.2", | ||
@@ -19,3 +19,3 @@ "execa": "^5.0.0", | ||
"devDependencies": { | ||
"@react-native-community/cli-types": "12.0.0", | ||
"@react-native-community/cli-types": "12.1.0", | ||
"@types/glob": "^7.1.1", | ||
@@ -37,3 +37,3 @@ "@types/lodash": "^4.14.149", | ||
}, | ||
"gitHead": "3f206fd01f70706ce17e4a33c3528a60e684d41e" | ||
"gitHead": "27208a84e9fa52792dae0563d33a332e92e9ef71" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
218685
2248
+ Added@react-native-community/cli-tools@12.1.0(transitive)
- Removed@react-native-community/cli-tools@12.0.0(transitive)