0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Xcode16 突然のプレビューエラーFailedToLaunchAppError: Failed to launch

Last updated at Posted at 2025-04-21

以下の自動的Preview更新を止めると治りました。スクリーンショット 2025-04-21 20.19.00.png

エラーログは

== PREVIEW UPDATE ERROR:

    FailedToLaunchAppError: Failed to launch segawa.xxx.xxx
    
    ==================================
    
    |  [Remote] JITError..........

おそらくある程度SwiftUI画面の構造が複雑化すると発動するみたいです。viewを切り分けたり、メソッドを見直したりしましたが治らず。上記の設定変更で一発で治りました。
ただし自動更新しなくなるので、都度、option + command + P で更新する必要があります。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?