iOS deploy fails on Xcode 27: Simulator.app not found in Contents/Developer/Applications

Abierto
#410 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
66/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
ios, typescript
Área
mobile

Línea de trabajo

Start by locating the iOS simulator deployment path that opens Simulator.app and check how it derives the app location from the selected Xcode developer directory. Compare that path with the Xcode 27.1 layout described here, then reproduce with npx cap run ios --target <simulator id>. Done means deployment, installation, and launch succeed on the reported setup.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Version: native-run 2.0.3 (via @capacitor/cli 8.5.3), Xcode 27.1 (27A9275), macOS 27

Description:

npx cap run ios --target <sim-id> builds successfully, then deploy fails:

✖ Deploying App.app to 430E270D-... - failed!
[error] ERR_UNKNOWN: There was an error opening simulator: The file /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app does not exist.

xcode-select -p points at /Applications/Xcode.app/Contents/Developer, but that folder has no Applications/ subfolder in Xcode 27.1, and open -a Simulator reports no app named Simulator. The iOS 27 platform is installed and xcrun simctl works.

Unlike #401, the selected developer dir is correct; the hard-coded Contents/Developer/Applications/Simulator.app location no longer exists.

Expected: deploy succeeds, as it does manually with:

xcrun simctl boot <id>
xcrun simctl install <id> <path>/App.app
xcrun simctl launch <id> <bundle-id>

Steps to reproduce:

  1. Install Xcode 27.1 and the iOS 27 platform.
  2. npx cap add ios in a Capacitor 8.5.3 project.
  3. npx cap run ios --target <iPhone simulator id>.
Lenguaje dominante
TypeScript
Estrellas
141
Forks
35
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ionic-team/native-run

Todos los issues de ionic-team/native-run

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.