본문 바로가기
Flutter

[Flutter] VS Code 아이폰 빌드 오류 해결 방법 (잘 되다가 갑자기 안될 때)

by somarok 2023. 8. 5.

VS Code로 플러터 개발을 하다가...

아까까지만 해도 아이폰 빌드가 잘 됐는데 갑자기 에러가 나면서 빌드 오류가 떴다.

 

Could not build the precompiled application for the device.
════════════════════════════════════════════════════════════════════════════════
Building a deployable iOS app requires a selected Development Team with a 
Provisioning Profile. Please ensure that a Development Team is selected by:
  1- Open the Flutter project's Xcode target with
       open ios/Runner.xcworkspace
  2- Select the 'Runner' project in the navigator then the 'Runner' target
     in the project settings
  3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team. 
     You may need to:
         - Log in with your Apple ID in Xcode first
         - Ensure you have a valid unique Bundle ID
         - Register your device with your Apple Developer Account
         - Let Xcode automatically provision a profile for your app
  4- Build or run your project again

For more information, please visit:
  https://flutter.dev/docs/get-started/install/macos#deploy-to-ios-devices

Or run on an iOS simulator without code signing
════════════════════════════════════════════════════════════════════════════════

singing도 잘 되어있구만 갑자기 왠 ....

이럴 땐 당황하지 말고 핸드폰을 재시작 해보자.

그럼 간단히 아이폰 빌드 오류 해결!!