Xcodeで”Could not read from the device.”というエラー

Xcode4でiOSアプリのコンパイルは通るのに実機で起動しようとするとCould not read from the device.と出る場合の対処方法

Could not read from the device.
しばらく経つと、Could not start debugserver on “(iPhoneの名前)” when trying to launch “(アプリケーションの名前)”とも表示された。

Could not start debugserver on “(iPhoneの名前)” when trying to launch “(アプリケーションの名前)”

AppStoreからインストールした版のアプリが既に存在していたためiPhoneからアプリを削除。それでも直らなかったので、Xcodeを終了してiPhoneを抜き差ししてから再度Xcodeを起動したら実行できた。なんだったんだろうか。

Pocket
LINEで送る
LinkedIn にシェア