Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

iPhoneの機内モード切り替えでXcodeでのデバッグが切れる問題

More than 1 year has passed since last update.

問題

iPhoneの実機でオンラインとオフラインの切り替え確認をするために機内モードのオン・オフを切り替えたところ、Xcodeで以下のアラートが表示され、デバッグが切れる問題が発生しました。

Lost connection to "実機名"

Restore the connection to "実機名" and run
"ターゲット名" again, or if
"ターゲット名" is still running, you can
attach to it by selecting Debug > Attach to Process > 
ターゲット名.

解決

解決方法は簡単、iPhone側のインターネット共有をオフにするだけです。

参考文献

stack overflow

nakan-D128
iOS/Androidエンジニアです プライベートでiOSアプリをリリースしてます https://itunes.apple.com/jp/app/stockey/id1407877357?mt=8
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away