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

オープン
#410 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
66/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
ios, typescript
領域
mobile

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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>.
主要言語
TypeScript
スター
141
フォーク
35
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ionic-team/native-run のほかの issue

ionic-team/native-run の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。