Flutter
[Flutter] Error - Could not run build/ios/iphonesos/Runner.app on
_annie_
2021. 10. 25. 20:00
728x90
반응형
개발하다가 에러 났을때 해결한 방법
혹시나 다음에 또 같은 에러가 발생하면 시도해보려고 기록!
"Flutter Run main.dart in ProfileMode" 로 빌드했을 때
iOS Observatory not discovered after 30 seconds. This is taking much longer than expected...
위와같은 에러가 발생하면서 어플이 설치되다가 중단되었다. ( 이상하게도 그냥 어플 눌러서 켜면 켜지긴 했음 ... (???))
Flutter와 사용했던 라이브러리들도 다 최신이었고 앱 삭제 단말 재부팅 등등 다 해봤는데도 해결되지 않았음
해결하려고 시도했던 방법:
flutter 프로젝트의 ios 폴더의 xcworkspace 실행 > Singing & Capabilities > Signing의 Team 설정해주기
그래도 다음과같은 에러가 발생!

Could not run build/ios/iphonesos/Runner.app on ~~
Try launching Xcode and selecting "Product > Run" to fix the problem:
open ios/Runner.xcworkspace
Error launching application on ~~~
라는 에러
해결하려고 시도했던 방법 :
단말에서
설정 -> 일반 -> VPN 및 기기 관리 -> '개발자앱' 항목에서 앱 선택 -> 파란색글씨(Apple Development: ~~) 선택 -> 메시지박스의 '신뢰'버튼 선택
설정을 해주고 다시 빌드하면 해결되었음.
발캡처주의



728x90
반응형