1
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?

More than 5 years have passed since last update.

込み入ったユーザーインターフェースを作ってしまい、Xcodeでプロジェクトが開けない時

Posted at

ストーリーボードや.xibファイルにアイテムを多数置いて、Viewの中にViewが入れ子になって、それにAutoLayoutLayoutConstraintをつけていくと、突然Xcodeが終了し、何度プロジェクトを開き直してもレインボーカーソルからXcodeがまた異常終了。

こんな経験、みなさんありませんか? 僕はあります

そんな時は、ファインダーで、問題の起きる.xcodeprojファイルを右クリック(2本指クリック)して「パッケージの内容を表示」して下さい。
そして、その中にあるproject.xcworkspaceファイルを削除し、元のフォルダーに戻ります。

そして改めでプロジェクトファイルを開くと、ウィンドウの大きさも、開いていたタブも忘れられてしまいますが、とりあえずまたプロジェクトを開くことが出来るようになります。

もし、そうなってしまった時はお試し下さい。

1
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
1
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?