Skip to content

RNC CLI incompatible with Xcode 27 #231

Description

@leotm

Description

Raised and fixed earlier in

so needs a new @react-native-community/cli release (bump/tag/publish)

then couple bumps in this repo

  • main (nightly)
  • 0.86-stable (plus template bump to 0.86.1/2)

from

    "@react-native-community/cli": "20.1.0",
    "@react-native-community/cli-platform-android": "20.1.0",
    "@react-native-community/cli-platform-ios": "20.1.0",

to

    "@react-native-community/cli": "20.2.0",
    "@react-native-community/cli-platform-android": "20.2.0",
    "@react-native-community/cli-platform-ios": "20.2.0",

for early support i fixed @react-native-community/cli windows paths locally to build then patch @react-native-community-cli-platform-apple plus sourcemaps and type defs (patch since git specifiers and tarball URLs are incompat with yarn workspace monorepos)

also Xcode 27.0, Beta 2 is out (22 Jun 2026)

Steps to reproduce

Xcode 27.0, Beta 1 (8 Jun 2026)

npx @react-native-community/cli@latest init MyProject --version latest
yarn install
yarn ios

React Native Community Template Version

all

Affected Platforms

Build - MacOS, Runtime - iOS

Output of npx @react-native-community/cli@latest info

info Fetching system and libraries information...
System:
  OS: macOS 27.0
  CPU: (12) arm64 Apple M2 Pro
  Memory: 486.11 MB / 16.00 GB
  Shell:
    version: 5.9.1
    path: /opt/homebrew/bin/zsh
Binaries:
  Node:
    version: 24.14.0
    path: /Users/leo/.local/state/fnm_multishells/17564_1782248859945/bin/node
  Yarn:
    version: 4.17.0
    path: /Users/leo/.local/state/fnm_multishells/17564_1782248859945/bin/yarn
  npm:
    version: 11.9.0
    path: /Users/leo/.local/state/fnm_multishells/17564_1782248859945/bin/npm
  Watchman:
    version: 2026.06.15.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods: Not Found
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 27.0
      - iOS 27.0
      - macOS 27.0
      - tvOS 27.0
      - visionOS 27.0
      - watchOS 27.0
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
  Xcode:
    version: 27.0/27A5194q
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.19
    path: /Users/leo/.jenv/shims/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 20.1.1
    wanted: 20.1.1
  react:
    installed: 19.2.3
    wanted: 19.2.3
  react-native:
    installed: 0.86.0
    wanted: 0.86.0
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Stacktrace or Logs

Using Node v24.14.0
% yarn ios
info A dev server is already running for this project on port 8081.
info Found Xcode workspace "MyProject.xcworkspace"
info Found booted iPhone 17 Pro
The file /Applications/Xcode27beta.app/Contents/Developer/Applications/Simulator.app does not exist.
error Command failed: open /Applications/Xcode27beta.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 3048F8ED-ED5C-4720-ADAA-EFEB41603E17
The file /Applications/Xcode27beta.app/Contents/Developer/Applications/Simulator.app does not exist.
.
Error: Command failed: open /Applications/Xcode27beta.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 3048F8ED-ED5C-4720-ADAA-EFEB41603E17
The file /Applications/Xcode27beta.app/Contents/Developer/Applications/Simulator.app does not exist.

    at genericNodeError (node:internal/errors:985:15)
    at wrappedFn (node:internal/errors:539:14)
    at checkExecSyncError (node:child_process:925:11)
    at Object.execFileSync (node:child_process:961:15)
    at runOnSimulator (/Users/leo/Documents/GitHub/MyProject/node_modules/@react-native-community/cli-platform-apple/build/commands/runCommand/runOnSimulator.js:45:28)
    at Object.func (/Users/leo/Documents/GitHub/MyProject/node_modules/@react-native-community/cli-platform-apple/build/commands/runCommand/createRun.js:190:48)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async Command.handleAction (/Users/leo/Documents/GitHub/MyProject/node_modules/@react-native-community/cli/build/index.js:139:9)

Reproducer

https://github.com/react-native-community/template, npx @react-native-community/cli@latest init MyProject --version latest

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions