flutter/ios

ios 기기 인식 못할때

thomass 2021. 11. 13. 01:27

mac에서 터미널을 켠 후 

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch

각각 실행 후 

flutter doctor 실행하면 인식된다!

혹시 안된다면 핸드폰 재부팅하면 된다

 

인식은되는데

no devices found with name or id matching 에러가 뜬다면

 

flutter doctor -v  실행

Errors were encountered while preparing your device for development. Please check the Devices and Simulators Window.

 

위같은 에러가 뜬다면 핸드폰 재부팅하면 잘된다 

 

추가:

빈번하게 연결잘하고쓰다가 갑자기 안되고 하는데

xcode를 켜놓고 빌드,

선을 다시 꼽아서 빼보고 빌드 ,

앱을 지웠다가 다시 빌드,

안되면 폰을 재부팅,

하면 왠만하면 해결

 

 

참고:https://stackoverflow.com/questions/64303314/flutter-ios-cant-detect-connected-ios-simulator

반응형