Hello,
I am trying to build a new iOS app and while running the builds have been getting this error:
error: "App" requires a provisioning profile. Select a provisioning profile in the Signing & Capabilities editor. (in target 'App' from project 'App')
[01:42:55]: ▸ note: Building targets in parallel
[01:42:55]: ▸ note: Using codesigning identity override: iPhone Developer: miles smith (SNB3LH342G)
[01:42:55]: ▸ note: Planning build
[01:42:55]: ▸ note: Constructing build description
[01:42:55]: ▸ error: "App" requires a provisioning profile. Select a provisioning profile in the Signing & Capabilities editor. (in target 'App' from project 'App')
[01:42:55]:
[01:42:55]: ⬆️ Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this error
[01:42:55]: 📋 For the complete and more detailed error log, check the full log at:
[01:42:55]: 📋 /Users/ionic/Library/Logs/gym/App-App.log
[01:42:55]:
[01:42:55]: Your `export_method` in gym is defined as `development`
[01:42:55]: which might cause problems when signing your application
[01:42:55]: Are you sure want to build and export for development?
[01:42:55]: Please make sure to define the correct export methods when calling
[01:42:55]: gym in your Fastfile or from the command line
[01:42:55]:
[01:42:55]:
[01:42:55]: Looks like fastlane ran into a build/archive error with your project
[01:42:55]: It's hard to tell what's causing the error, so we wrote some guides on how
[01:42:55]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[01:42:55]: Before submitting an issue on GitHub, please follow the guide above and make
[01:42:55]: sure your project is set up correctly.
[01:42:55]: fastlane uses `xcodebuild` commands to generate your binary, you can see the
[01:42:55]: the full commands printed out in yellow in the above log.
[01:42:55]: Make sure to inspect the output above, as usually you'll find more error information there
[!] Error building the application - see the log above
+------+------------------------------+-------------+
| fastlane summary |
+------+------------------------------+-------------+
| Step | Action | Time (in s) |
+------+------------------------------+-------------+
| 1 | default_platform | 0 |
| 2 | build_summary | 0 |
| 3 | add_git_credentials | 0 |
| 4 | get_appflow_config | 0 |
| 5 | detect_native_type | 0 |
| 6 | dependency_install | 43 |
| 7 | create_capacitor_config | 0 |
| 8 | get_web_dir | 0 |
| 9 | modify_cap_web_config | 0 |
| 10 | create_keychain | 0 |
| 11 | download_certs | 2 |
| 12 | import_certificate | 0 |
| 13 | build_pro_app | 76 |
| 14 | modify_cap_ios_config | 0 |
| 15 | cap_sync | 10 |
| 16 | cap_custom_deploy | 0 |
| 17 | automatic_code_signing | 0 |
| 18 | update_provisioning_profiles | 4 |
| 💥 | gym | 10 |
| 20 | upload_logs | 18 |
| 21 | shell command | 0 |
| 22 | delete_keychain | 0 |
+------+------------------------------+-------------+
[01:43:13]: fastlane finished with errors