The following build commands failed: Check dependencies (1 failure) [15:44:30]: Exit status: 65 ±--------------±------------------------+ | Build environment | ±--------------±------------------------+ | xcode_path | /Applications/Xcode.app | | gym_version | 2.97.0 | | export_method | development | | sdk | iPhoneOS11.4.sdk | ±--------------±------------------------+ [15:44:30]: ▸ Check dependencies [15:44:30]: ▸ Code Signing Error: No certificate matching ‘iPhone Developer: Celso Ba\xC3\xADa Ferreira (3YLKQSK3KY)’ found: Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning. [15:44:30]: ▸ Code Signing Error: Provisioning profile “Natural” has app ID “io.ionic.starter.naturalApp”, which does not match the bundle ID “io.ionic.starter”. [15:44:30]: ▸ Code Signing Error: Code signing is required for product type ‘Application’ in SDK ‘iOS 11.4’ [15:44:30]: [15:44:30]: ️ Check out the few lines of raw xcodebuild
output above for potential hints on how to solve this error [15:44:30]: For the complete and more detailed error log, check the full log at: [15:44:30]: /Users/ionic/Library/Logs/gym/naturalApp-naturalApp.log [15:44:30]: [15:44:30]: Your export_method
in gym is defined as development
[15:44:30]: which might cause problems when signing your application [15:44:30]: Are you sure want to build and export for development? [15:44:30]: Please make sure to define the correct export methods when calling [15:44:30]: gym in your Fastfile or from the command line [15:44:30]: [15:44:30]: [15:44:30]: Looks like fastlane ran into a build/archive error with your project [15:44:30]: It’s hard to tell what’s causing the error, so we wrote some guides on how [15:44:30]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/ [15:44:30]: Before submitting an issue on GitHub, please follow the guide above and make [15:44:30]: sure your project is set up correctly. [15:44:30]: fastlane uses xcodebuild
commands to generate your binary, you can see the [15:44:30]: the full commands printed out in yellow in the above log. [15:44:30]: Make sure to inspect the output above, as usually you’ll find more error information there [15:44:30]: [15:44:30]: ------------------------- [15:44:30]: — Step: upload_logs — [15:44:30]: ------------------------- [15:44:36]: --------------------------- [15:44:36]: — Step: shell command — [15:44:36]: --------------------------- [15:44:36]: ----------------------------- [15:44:36]: — Step: delete_keychain — [15:44:36]: ----------------------------- [15:44:36]: Error building the application - see the log above ±------------------------------------±-----------------------------------------------------------------+ | Lane Context | ±------------------------------------±-----------------------------------------------------------------+ | DEFAULT_PLATFORM | ios | | PLATFORM_NAME | ios | | LANE_NAME | ios package_build | | DOWNLOAD_CERTS_CODESIGNING_IDENTITY | iPhone Developer: Celso Ba\xC3\xADa Ferreira (3YLKQSK3KY) | | DOWNLOAD_CERTS_TEAM_ID | 8Y6UYTQY4V | | DOWNLOAD_CERTS_PROJECT_NAME | naturalApp | | DOWNLOAD_CERTS_CERT_PATH | /Users/ionic/builds/project-0/cert_file.p12 | | DOWNLOAD_CERTS_PROVISIONING_PATH | /Users/ionic/builds/project-0/provision_file.mobileprovision | | SIGH_PROFILE_PATHS | ["/Users/ionic/builds/project-0/provision_file.mobileprovision"] | ±------------------------------------±-----------------------------------------------------------------+ [15:44:36]: Error building the application - see the log above ±-----±----------------------------±------------+ | fastlane summary | ±-----±----------------------------±------------+ | Step | Action | Time (in s) | ±-----±----------------------------±------------+ | 1 | default_platform | 0 | | 2 | build_summary | 4 | | 3 | create_keychain | 0 | | 4 | download_certs | 2 | | 5 | import_certificate | 0 | | 6 | build_pro_app | 59 | | 7 | cordova platform add ios | 307 | | 8 | update_project_codesigning | 0 | | 9 | update_project_provisioning | 0 | | | gym | 17 | | 11 | upload_logs | 6 | | 12 | shell command | 0 | | 13 | delete_keychain | 0 | ±-----±----------------------------±------------+ [15:44:36]: fastlane finished with errors MAC Iteration 2048 MAC verified OK PKCS7 Encrypted data: pbeWithSHA1And40BitRC2-CBC, Iteration 2048 Certificate bag PKCS7 Data Shrouded Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048
[!] Error building the application - see the log above \e[91mFailed to upload ipa to storage please retry your build.\e[0m Running after script… $ clean-up Cleaning up files…
It seems that you are not using the same name in config.xml and when you register the app in ios app ids.Since it says: "Code Signing Error: Provisioning profile “Natural” has app ID “io.ionic.starter.naturalApp”, which does not match the bundle ID “io.ionic.starter”
Name io.ionic.starter.naturalApp and io.ionic.starter should be same name