본문 바로가기
프로그래밍/Flutter

플러터 첫 시작, 요란한? 오류를 만나다 : Error (Xcode): No profiles for 'com.example.counterApp' were found:

by Mr-후 2022. 9. 13.
반응형

 

막연하게 flutter run을 외쳤더니, Error로 보답을 한다. ^____^ 

Could not build the precompiled application for the device.

Error (Xcode): No profiles for 'com.example.counterApp' were found: Xcode couldn't find any iOS App Development provisioning profiles

matching 'com.example.counterApp'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass

-allowProvisioningUpdates to xcodebuild.

It appears that there was a problem signing your application prior to installation on the device.

Verify that the Bundle Identifier in your project is your signing id in Xcode

  open ios/Runner.xcworkspace

Also try selecting 'Product > Build' to fix the problem.

Error launching application on iPhone 12 Pro.

내가 앱을 개발하고 있던 터라, iPhone 12 Pro가 iMac과 연결되어 있어 연결된 장비로 빌드를 하려고 하니 프로비저닝 문제가 있다고 나온 것 같다. 

검색 결과 나온 해결책에는 다운로드 받은 프로젝트 폴더에서 Xcode로 실행한 한번 한 뒤에 다시 하면 된다고 하는데... 그건 좀 아닌 듯 하지만 하라는대로 했다. ㅎㅎ 

그랬더니 현재 뭔가를 설치하고 있다고 나온다. 얼마나 걸릴지 모르겠지만... 

younghumin@Younghuui-iMac counter_app % flutter run
Launching lib/main.dart on iPhone 12 Pro in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: NR4B3688RH

Running Xcode build...                                                  
 └─Compiling, linking and signing...                         5.7s
Xcode build done.                                           18.8s
Installing and launching...                                           

이 상태에서, 단말을 연결하니, 단말로 빌드가 되어 실행되었다. 아마도 자동으로 프로비저닝하게 되어 있고, 프로젝트사의 계정을 통해 App 번들이 자동으로 만들어졌나보다. ㅋㅋ 

 

apple developer사이트에 들어가서 지워야겠당. 

반응형