산나물의 코드정원
Xcode 빌드시 "Error (Xcode): No profiles for 'com.example.flutterRestoreIosFolder'" 에러 본문
Xcode 빌드시 "Error (Xcode): No profiles for 'com.example.flutterRestoreIosFolder'" 에러
heesanee 2023. 12. 29. 22:47Xcode 빌드시에 다음과 같은 오류가 발생했다.
Could not build the precompiled application for the device.
Error (Xcode): No profiles for 'com.example.flutterRestoreIosFolder' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.example.flutterRestoreIosFolder'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
/Users/wanni/Desktop/{프로젝트 name}/ios/Runner.xcodeproj
오류를 해석해보니 이러한 뜻이다.
Xcode는 'com.example.flutterRestoreIosFolder'와 일치하는 iOS App Development 프로비저닝 프로파일을 찾지 못했습니다.
"Automatic signing is disabled and unable to generate a profile": 자동 서명이 비활성화되어 있으며 프로파일을 생성할 수 없습니다.
"To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild": 자동 서명을 활성화하려면 xcodebuild에 -allowProvisioningUpdates를 전달하십시오.
해결 방법으로 다음을 시도할 수 있습니다.
"To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild": 자동 서명을 활성화하려면 xcodebuild에 -allowProvisioningUpdates를 전달하십시오.
해결 방법으로 다음을 시도할 수 있습니다.
즉, 수동으로 프로비저닝 프로파일을 설정하라는 것이다.
Xcode를 열고 프로젝트를 로드한다.
프로젝트 네비게이터에서 "Runner"를 선택하고, 타겟 "Runner"를 선택하고 "Signing & Capabilities" 탭으로 이동한다.
그리고나서 "Automatically manage signing" 옵션을 선택하고 Team을 선택한다. 마지막으로 저장 후에 다시 빌드를 시도한다.
1. Xcode에서 Preferences로 이동한다.
2. Account 탭에서 해당 Apple ID를 선택한다.
3. Details에서 "Download All"을 클릭하여 프로비저닝 프로파일을 새로 고친다.
이 과정을 실행하고 다시 빌드를 시도한다.
프로젝트 디렉토리로 이동 후에 다음 명령어를 실행한다. -> flutter build ios --release -allowProvisioningUpdates
이 작업 이후에 build가 잘 되는 것을 볼 수 있다.
같은 오류를 겪고 있다면 도움이 되었으면 합니다. 감사합니다.
'CODE > Error' 카테고리의 다른 글
시뮬레이터 빌드시 "[!] CocoaPods could not find compatible versions for pod 'Firebase/CoreOnly' " 에러 (0) | 2024.03.22 |
---|---|
AWS S3 Access denied Error (이미지 삭제시에) (0) | 2023.10.26 |
안드로이드 빌드 시 64k 참조 제한 오류 (0) | 2023.09.26 |