yukiarrr/ios-build-action

No certificate for team '***' matching '***' found: Select a different signing certificate for CODE_SIGN_IDENTITY,

Opened this issue · 8 comments

Log
Run yukiarrr/ios-build-action@v1.4.0
  with:
    project-path: mobile/react-native-app/ios/RNApp.xcodeproj
    p1[2](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:2)-base64: ***
    mobileprovision-base64: ***
    code-signing-identity: ***
    team-id: ***
    certificate-password: ***
    workspace-path: mobile/react-native-app/ios/RNApp.xcworkspace
    scheme: RNApp
    export-method: app-store
    configuration: Release
    output-path: output.ipa
  env:
    PATH: /usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Users/runner/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.dotnet/tools:/Users/runner/.ghcup/bin:/Users/runner/hostedtoolcache/stack/2.7.5/x64
/bin/bash /Users/runner/work/_actions/yukiarrr/ios-build-action/v1.4.0/dist/../build.sh
==> Downloading https://ghcr.io/v2/homebrew/core/ruby/manifests/[3](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:3).1.2
==> Downloading https://ghcr.io/v2/homebrew/core/ruby/blobs/sha256:5[4](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:4)6[5](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:5)372af478fe2babb247ef3e2440[6](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:6)45041d[7](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:7)ed2[8](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:8)43[9](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:9)3f49c3ffbf450aa98e9
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:5465372af478fe2babb247ef3e2440645041d7ed284393f49c3ffbf450aa98e9?se=2022-04-23T12%3A20%3A00Z&sig=ny%2F%2BSoWqEN7%2BppGqsJxr5OFyF4Asp%2FMa%2FCpwAgoPuZA%3D&sp=r&spr=https&sr=b&sv=2019-12-12
==> Downloading https://ghcr.io/v2/homebrew/core/terminal-notifier/manifests/2.0.0
==> Downloading https://ghcr.io/v2/homebrew/core/terminal-notifier/blobs/sha256:91f14694ebce08887492aa75138753cd9ff74977868927b15b52559728280055
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:91f14694ebce08887492aa75138753cd9ff74977868927b15b52559728280055?se=2022-04-23T12%3A20%3A00Z&sig=JsN1jX8YrV5ZxCRjGzuggk1qwWl0JRAxX%2Bb3Bw44r8w%3D&sp=r&spr=https&sr=b&sv=2019-12-12
==> Downloading https://ghcr.io/v2/homebrew/core/fastlane/manifests/2.205.1
==> Downloading https://ghcr.io/v2/homebrew/core/fastlane/blobs/sha256:a8bd4ef076a84ce98f8e6f8fb348a00baffe0afaae19bded439cd2587f87b53b
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:a8bd4ef076a84ce98f8e6f8fb348a00baffe0afaae19bded439cd2587f87b53b?se=2022-04-23T12%3A20%3A00Z&sig=spizOYDISh8c2Ynws0UtGrzBbY3oiWPM0r%2BLlu66szM%3D&sp=r&spr=https&sr=b&sv=2019-12-12
==> Installing dependencies for fastlane: ruby and terminal-notifier
==> Installing fastlane dependency: ruby
==> Pouring ruby--3.1.2.big_sur.bottle.tar.gz
🍺  /usr/local/Cellar/ruby/3.1.2: 15,996 files, 42.5MB
==> Installing fastlane dependency: terminal-notifier
==> Pouring terminal-notifier--2.0.0.big_sur.bottle.tar.gz
🍺  /usr/local/Cellar/terminal-notifier/2.0.0: 12 files, 572.6KB
==> Installing fastlane
==> Pouring fastlane--2.205.1.big_sur.bottle.tar.gz
🍺  /usr/local/Cellar/fastlane/2.205.1: 3,913 files, 45MB
==> Running `brew cleanup fastlane`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
[12:15:33]: Seems like launching fastlane takes a while - please run
[12:15:33]: 
[12:15:33]: $ [sudo] gem cleanup
[12:15:33]: 
[12:15:33]: to uninstall outdated gems and make fastlane launch faster
[12:15:33]: Alternatively it's recommended to start using a Gemfile to lock your dependencies
[12:15:33]: To get started with a Gemfile, run
[12:15:33]: 
[12:15:33]: $ bundle init
[12:15:33]: $ echo 'gem "fastlane"' >> Gemfile
[12:15:33]: $ bundle install
[12:15:33]: 
[12:15:33]: After creating the Gemfile and Gemfile.lock, commit those files into version control
[12:15:33]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[12:15:35]: Sending anonymous analytics information
[12:15:35]: Learn more at https://docs.fastlane.tools/#metrics
[12:15:35]: No personal or sensitive data is sent.
[12:15:35]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
[12:15:35]: ------------------------------
[12:15:35]: --- Step: default_platform ---
[12:15:35]: ------------------------------
[12:15:35]: Driving the lane 'ios export_ipa' 🚀
[12:15:35]: creating ../ios-build-1.mobileprovision
[12:15:35]: -----------------------------
[12:15:35]: --- Step: create_keychain ---
[12:15:35]: -----------------------------
[12:15:35]: $ security list-keychains -d user
[12:15:35]: ▸ "/Users/runner/Library/Keychains/ios-build.keychain-db"
[12:15:35]: Found keychain '/Users/runner/Library/Keychains/ios-build.keychain-db' in list-keychains, adding to search list skipped
[12:15:35]: --------------------------------
[12:15:35]: --- Step: import_certificate ---
[12:15:35]: --------------------------------
[12:15:35]: $ security import ios-build.p12 -k '/Users/runner/Library/Keychains/ios-build.keychain-db' -P ******** -T /usr/bin/codesign -T /usr/bin/security -T /usr/bin/productbuild
[12:15:35]: Setting key partition list... (this can take a minute if there are a lot of keys installed)
[12:15:35]: $ security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k ******** /Users/runner/Library/Keychains/ios-build.keychain-db 1> /dev/null
[12:15:35]: ------------------------------------------
[12:15:35]: --- Step: install_provisioning_profile ---
[12:15:35]: ------------------------------------------
[12:15:35]: Installing provisioning profile...
[12:15:36]: ------------------------------------------
[12:15:36]: --- Step: update_code_signing_settings ---
[12:15:36]: ------------------------------------------

+-----------------------+------------------------------------------------------------------------------+
|                                  Summary for code signing settings                                   |
+-----------------------+------------------------------------------------------------------------------+
| use_automatic_signing | false                                                                        |
| path                  | mobile/react-native-app/ios/RNApp.xcodeproj                                  |
| code_sign_identity    | *** |
+-----------------------+------------------------------------------------------------------------------+

[12:15:36]: Updating the Automatic Codesigning flag to disabled for the given project '/Users/runner/work/pangu/pangu/mobile/react-native-app/ios/RNApp.xcodeproj/project.pbxproj'
[12:15:36]: Set Code Sign identity to: *** for target: RNApp for build configuration: Debug
[12:15:36]: Set Code Sign identity to: *** for target: RNApp for build configuration: Release
[12:15:36]: Set Code Sign identity to: *** for target: RNAppTests for build configuration: Debug
[12:15:36]: Set Code Sign identity to: *** for target: RNAppTests for build configuration: Release
[12:15:36]: Successfully updated project settings to use Code Sign Style = 'Manual'
[12:15:36]: Modified Targets:
[12:15:36]: 	 * RNApp
[12:15:36]: 	 * RNAppTests
[12:15:36]: Modified Build Configurations:
[12:15:36]: 	 * Debug
[12:15:36]: 	 * Release
[12:15:36]: 	 * Debug
[12:15:36]: 	 * Release
[12:15:36]: -----------------------------------------
[12:15:36]: --- Step: update_project_provisioning ---
[12:15:36]: -----------------------------------------
[12:15:36]: You’re updating provisioning profiles directly in your project, but have you considered easier ways to do code signing?
[12:15:36]: https://docs.fastlane.tools/codesigning/GettingStarted/
[12:15:36]: Downloading root certificate from (https://www.apple.com/appleca/AppleIncRootCertificate.cer) to path '/tmp/AppleIncRootCertificate.cer'
[12:15:36]: Parsing mobile provisioning profile from 'ios-build-1.mobileprovision'
[12:15:36]: Going to update project 'mobile/react-native-app/ios/RNApp.xcodeproj' with UUID
[12:15:36]: Updating target RNApp...
[12:15:36]: Updating configuration Debug...
[12:15:36]: Updating configuration Release...
[12:15:36]: Updating target RNAppTests...
[12:15:36]: Updating configuration Debug...
[12:15:36]: Updating configuration Release...
[12:15:36]: Successfully updated project settings in 'mobile/react-native-app/ios/RNApp.xcodeproj'
[12:15:36]: ---------------------------------
[12:15:36]: --- Step: update_project_team ---
[12:15:36]: ---------------------------------
[12:15:36]: Updating development team (***) for target `RNApp` in the project 'mobile/react-native-app/ios/RNApp.xcodeproj'
[12:15:36]: Successfully updated project settings to use Developer Team ID '***' for target `RNApp`
[12:15:36]: Updating development team (***) for target `RNAppTests` in the project 'mobile/react-native-app/ios/RNApp.xcodeproj'
[12:15:36]: Successfully updated project settings to use Developer Team ID '***' for target `RNAppTests`
[12:15:36]: Unknown modifier: `rfc[10](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:10)34identifier` in `$(PRODUCT_NAME:rfc1034identifier)
[12:15:36]: -----------------------
[12:15:36]: --- Step: build_app ---
[12:15:36]: -----------------------
[12:15:36]: Resolving Swift Package Manager dependencies...
[12:15:36]: $ xcodebuild -resolvePackageDependencies -workspace mobile/react-native-app/ios/RNApp.xcworkspace -scheme RNApp -configuration Release
[12:15:37]: ▸ Command line invocation:
[12:15:37]: ▸     /Applications/Xcode_13.2.1.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace mobile/react-native-app/ios/RNApp.xcworkspace -scheme RNApp -configuration Release
[12:15:37]: ▸ User defaults from command line:
[12:15:37]: ▸     IDEPackageSupportUseBuiltinSCM = YES
[12:15:41]: ▸ --- xcodebuild: WARNING: Using the first of multiple matching destinations:
[12:15:41]: ▸ { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
[12:15:41]: ▸ { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
[12:15:41]: ▸ { platform:iOS Simulator, id:1826141A-77FE-4097-9C82-20B74A[11](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:11)3E9C, OS:15.2, name:iPhone 8 }
[[12](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:12):15:41]: ▸ { platform:iOS Simulator, id:369B52FB-AD4C-4B7A-A585-250A4BE74EFD, OS:15.2, name:iPhone 8 Plus }
[12:15:41]: ▸ { platform:iOS Simulator, id:DBE7690D-F7E1-4818-AA58-043D7F1DD5C4, OS:15.2, name:iPhone 11 }
[12:15:41]: ▸ { platform:iOS Simulator, id:06B68F9D-0751-4AAB-A698-341F4D390991, OS:15.2, name:iPhone 11 Pro }
[12:15:41]: ▸ { platform:iOS Simulator, id:3998696C-282A-489D-B693-D91CF68AC68B, OS:15.2, name:iPhone 11 Pro Max }
[12:15:41]: ▸ { platform:iOS Simulator, id:7776DDAB-4EB1-42A1-B0AF-FD81A50E7490, OS:15.2, name:iPhone 12 }
[12:15:41]: ▸ { platform:iOS Simulator, id:FF5B4CC6-B764-4796-B28C-50AB4724C95E, OS:15.2, name:iPhone 12 Pro }
[12:15:41]: ▸ { platform:iOS Simulator, id:C28991B8-D710-4463-9221-15CE3B238E[13](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:13), OS:15.2, name:iPhone 12 Pro Max }
[12:15:41]: ▸ { platform:iOS Simulator, id:F102C031-80A4-4933-A6A3-992226E732BA, OS:15.2, name:iPhone 12 mini }
[12:15:41]: ▸ { platform:iOS Simulator, id:802CFA6C-3A47-4794-B778-3364A8FA3B8A, OS:15.2, name:iPhone 13 }
[12:15:41]: ▸ { platform:iOS Simulator, id:5DE3CD21-F6C3-443B-AD95-76C0DAF5C67D, OS:15.2, name:iPhone 13 Pro }
[12:15:41]: ▸ { platform:iOS Simulator, id:B6D07AE5-6BCA-479D-93D2-94D88CD41C73, OS:15.2, name:iPhone 13 Pro Max }
[12:15:41]: ▸ { platform:iOS Simulator, id:49AAFE3C-20F9-4965-AFD5-A396E78CD58C, OS:15.2, name:iPhone 13 mini }
[12:15:41]: ▸ { platform:iOS Simulator, id:760E3172-3D02-40E9-91D8-A2FE9BDDC77C, OS:15.2, name:iPhone SE (2nd generation) }
[12:15:41]: ▸ { platform:iOS Simulator, id:D9C77F2A-491D-42C2-88B8-3F71DC4C01F0, OS:15.2, name:iPod touch (7th generation) }
[12:15:41]: ▸ { platform:iOS Simulator, id:BF4645BE-0C2A-45DC-B332-86261AD19D93, OS:15.2, name:iPad (7th generation) }
[12:15:41]: ▸ { platform:iOS Simulator, id:8D828004-64D3-4360-AC1B-4262F2A7E0F9, OS:15.2, name:iPad (8th generation) }
[12:15:41]: ▸ { platform:iOS Simulator, id:6B0180B1-30EC-4F4A-B00D-33B94908A44A, OS:15.2, name:iPad (9th generation) }
[12:15:41]: ▸ { platform:iOS Simulator, id:877B4A09-83D1-47C8-9B16-583E52022FFE, OS:15.2, name:iPad Air (3rd generation) }
[12:15:41]: ▸ { platform:iOS Simulator, id:79EB0976-213C-46AF-BA0F-60361D1ADB8B, OS:15.2, name:iPad Air (4th generation) }
[12:15:41]: ▸ { platform:iOS Simulator, id:A8C9E179-826B-4C99-861C-ED18FAA53345, OS:15.2, name:iPad Pro (9.7-inch) }
[12:15:41]: ▸ { platform:iOS Simulator, id:6E51DE80-7E97-46B9-AF3E-2FF9BF6F974C, OS:15.2, name:iPad Pro (11-inch) (2nd generation) }
[12:15:41]: ▸ { platform:iOS Simulator, id:4CD2572E-0B24-43F7-9413-A05CB0290EE9, OS:15.2, name:iPad Pro (11-inch) (3rd generation) }
[12:15:41]: ▸ { platform:iOS Simulator, id:4326F83B-E313-4236-A182-33DCE4A95C07, OS:15.2, name:iPad Pro (12.9-inch) (4th generation) }
[12:15:41]: ▸ { platform:iOS Simulator, id:A57DEB4B-DE02-42AE-8A2E-46313FB8BA0D, OS:15.2, name:iPad Pro (12.9-inch) (5th generation) }
[12:15:41]: ▸ { platform:iOS Simulator, id:E08942C5-2D46-43D2-96C4-97DE6D103C23, OS:15.2, name:iPad mini (6th generation) }
[12:15:41]: ▸ resolved source packages: 
[12:15:41]: $ xcodebuild -showBuildSettings -workspace mobile/react-native-app/ios/RNApp.xcworkspace -scheme RNApp -configuration Release
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:1826[14](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:14)1A-77FE-4097-9C82-20B74A113E9C, OS:[15](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:15).2, name:iPhone 8 }
{ platform:iOS Simulator, id:369B52FB-AD4C-4B7A-A585-250A4BE74EFD, OS:15.2, name:iPhone 8 Plus }
{ platform:iOS Simulator, id:DBE7690D-F7E1-4818-AA58-043D7F1DD5C4, OS:15.2, name:iPhone 11 }
{ platform:iOS Simulator, id:06B68F9D-0751-4AAB-A698-341F4D390991, OS:15.2, name:iPhone 11 Pro }
{ platform:iOS Simulator, id:3998696C-282A-489D-B693-D91CF68AC68B, OS:15.2, name:iPhone 11 Pro Max }
{ platform:iOS Simulator, id:7776DDAB-4EB1-42A1-B0AF-FD81A50E7490, OS:15.2, name:iPhone 12 }
{ platform:iOS Simulator, id:FF5B4CC6-B764-4796-B28C-50AB4724C95E, OS:15.2, name:iPhone 12 Pro }
{ platform:iOS Simulator, id:C28991B8-D710-4463-9221-15CE3B238E13, OS:15.2, name:iPhone 12 Pro Max }
{ platform:iOS Simulator, id:F102C031-80A4-4933-A6A3-992226E732BA, OS:15.2, name:iPhone 12 mini }
{ platform:iOS Simulator, id:802CFA6C-3A47-4794-B778-3364A8FA3B8A, OS:15.2, name:iPhone 13 }
{ platform:iOS Simulator, id:5DE3CD21-F6C3-443B-AD95-76C0DAF5C67D, OS:15.2, name:iPhone 13 Pro }
{ platform:iOS Simulator, id:B6D07AE5-6BCA-479D-93D2-94D88CD41C73, OS:15.2, name:iPhone 13 Pro Max }
{ platform:iOS Simulator, id:49AAFE3C-20F9-4965-AFD5-A396E78CD58C, OS:15.2, name:iPhone 13 mini }
{ platform:iOS Simulator, id:760E3172-3D02-40E9-91D8-A2FE9BDDC77C, OS:15.2, name:iPhone SE (2nd generation) }
{ platform:iOS Simulator, id:D9C77F2A-491D-42C2-88B8-3F71DC4C01F0, OS:15.2, name:iPod touch (7th generation) }
{ platform:iOS Simulator, id:BF4645BE-0C2A-45DC-B332-86261AD19D93, OS:15.2, name:iPad (7th generation) }
{ platform:iOS Simulator, id:8D828004-64D3-4360-AC1B-4262F2A7E0F9, OS:15.2, name:iPad (8th generation) }
{ platform:iOS Simulator, id:6B0180B1-30EC-4F4A-B00D-33B94908A44A, OS:15.2, name:iPad (9th generation) }
{ platform:iOS Simulator, id:877B4A09-83D1-47C8-9B[16](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:16)-583E52022FFE, OS:15.2, name:iPad Air (3rd generation) }
{ platform:iOS Simulator, id:79EB0976-213C-46AF-BA0F-60361D1ADB8B, OS:15.2, name:iPad Air (4th generation) }
{ platform:iOS Simulator, id:A8C9E[17](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:17)9-826B-4C99-861C-ED[18](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:18)FAA53345, OS:15.2, name:iPad Pro (9.7-inch) }
{ platform:iOS Simulator, id:6E51DE80-7E97-46B9-AF3E-2FF9BF6F974C, OS:15.2, name:iPad Pro (11-inch) (2nd generation) }
{ platform:iOS Simulator, id:4CD2572E-0B24-43F7-9413-A05CB0290EE9, OS:15.2, name:iPad Pro (11-inch) (3rd generation) }
{ platform:iOS Simulator, id:4326F83B-E313-4236-A182-33DCE4A95C07, OS:15.2, name:iPad Pro (12.9-inch) (4th generation) }
{ platform:iOS Simulator, id:A57DEB4B-DE02-42AE-8A2E-46313FB8BA0D, OS:15.2, name:iPad Pro (12.9-inch) (5th generation) }
{ platform:iOS Simulator, id:E08942C5-2D46-43D2-96C4-97DE6D103C23, OS:15.2, name:iPad mini (6th generation) }
[12:15:44]: Command timed out after 3 seconds on try 1 of 4, trying again with a 6 second timeout...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:1826141A-77FE-4097-9C82-20B74A113E9C, OS:15.2, name:iPhone 8 }
{ platform:iOS Simulator, id:369B52FB-AD4C-4B7A-A585-250A4BE74EFD, OS:15.2, name:iPhone 8 Plus }
{ platform:iOS Simulator, id:DBE7690D-F7E1-4818-AA58-043D7F1DD5C4, OS:15.2, name:iPhone 11 }
{ platform:iOS Simulator, id:06B68F9D-0751-4AAB-A698-341F4D390991, OS:15.2, name:iPhone 11 Pro }
{ platform:iOS Simulator, id:3998696C-282A-489D-B693-D91CF68AC68B, OS:15.2, name:iPhone 11 Pro Max }
{ platform:iOS Simulator, id:7776DDAB-4EB1-42A1-B0AF-FD81A50E7490, OS:15.2, name:iPhone 12 }
{ platform:iOS Simulator, id:FF5B4CC6-B764-4796-B28C-50AB4724C95E, OS:15.2, name:iPhone 12 Pro }
{ platform:iOS Simulator, id:C28991B8-D710-4463-9221-15CE3B238E13, OS:15.2, name:iPhone 12 Pro Max }
{ platform:iOS Simulator, id:F102C031-80A4-4933-A6A3-992226E732BA, OS:15.2, name:iPhone 12 mini }
{ platform:iOS Simulator, id:802CFA6C-3A47-4794-B778-3364A8FA3B8A, OS:15.2, name:iPhone 13 }
{ platform:iOS Simulator, id:5DE3CD21-F6C3-443B-AD95-76C0DAF5C67D, OS:15.2, name:iPhone 13 Pro }
{ platform:iOS Simulator, id:B6D07AE5-6BCA-479D-93D2-94D88CD41C73, OS:15.2, name:iPhone 13 Pro Max }
{ platform:iOS Simulator, id:49AAFE3C-20F9-4965-AFD5-A396E78CD58C, OS:15.2, name:iPhone 13 mini }
{ platform:iOS Simulator, id:760E3172-3D02-40E9-91D8-A2FE9BDDC77C, OS:15.2, name:iPhone SE (2nd generation) }
{ platform:iOS Simulator, id:D9C77F2A-491D-42C2-88B8-3F71DC4C01F0, OS:15.2, name:iPod touch (7th generation) }
{ platform:iOS Simulator, id:BF4645BE-0C2A-45DC-B332-86261AD[19](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:19)D93, OS:15.2, name:iPad (7th generation) }
{ platform:iOS Simulator, id:8D828004-64D3-4360-AC1B-4262F2A7E0F9, OS:15.2, name:iPad (8th generation) }
{ platform:iOS Simulator, id:6B0180B1-30EC-4F4A-B00D-33B94908A44A, OS:15.2, name:iPad (9th generation) }
{ platform:iOS Simulator, id:877B4A09-83D1-47C8-9B16-583E5[20](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:20)22FFE, OS:15.2, name:iPad Air (3rd generation) }
{ platform:iOS Simulator, id:79EB0976-[21](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:21)3C-46AF-BA0F-60361D1ADB8B, OS:15.2, name:iPad Air (4th generation) }
{ platform:iOS Simulator, id:A8C9E179-826B-4C99-861C-ED18FAA53345, OS:15.2, name:iPad Pro (9.7-inch) }
{ platform:iOS Simulator, id:6E51DE80-7E97-46B9-AF3E-2FF9BF6F974C, OS:15.2, name:iPad Pro (11-inch) (2nd generation) }
{ platform:iOS Simulator, id:4CD2572E-0B24-43F7-9413-A05CB0290EE9, OS:15.2, name:iPad Pro (11-inch) (3rd generation) }
{ platform:iOS Simulator, id:4326F83B-E313-4236-A182-33DCE4A95C07, OS:15.2, name:iPad Pro (12.9-inch) (4th generation) }
{ platform:iOS Simulator, id:A57DEB4B-DE02-42AE-8A2E-46313FB8BA0D, OS:15.2, name:iPad Pro (12.9-inch) (5th generation) }
{ platform:iOS Simulator, id:E08942C5-2D46-43D2-96C4-97DE6D103C23, OS:15.2, name:iPad mini (6th generation) }
[12:15:48]: Detected provisioning profile mapping: {:"org.pangujs.app"=>"pangu_prod"}

+-----------------------------------------------------+-----------------------------------------------------------+
|                                             Summary for gym 2.205.1                                             |
+-----------------------------------------------------+-----------------------------------------------------------+
| workspace                                           | mobile/react-native-app/ios/RNApp.xcworkspace             |
| configuration                                       | Release                                                   |
| scheme                                              | RNApp                                                     |
| output_directory                                    | .                                                         |
| output_name                                         | output                                                    |
| clean                                               | true                                                      |
| export_method                                       | app-store                                                 |
| export_options.provisioningProfiles.org.pangujs.app | pangu_prod                                                |
| skip_profile_detection                              | false                                                     |
| silent                                              | false                                                     |
| skip_package_ipa                                    | false                                                     |
| skip_package_pkg                                    | false                                                     |
| build_path                                          | /Users/runner/Library/Developer/Xcode/Archives/20[22](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:22)-04-[23](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:23) |
| result_bundle                                       | false                                                     |
| buildlog_path                                       | ~/Library/Logs/gym                                        |
| destination                                         | generic/platform=iOS                                      |
| xcodebuild_formatter                                | xcpretty                                                  |
| xcodebuild_command                                  | xcodebuild                                                |
| skip_package_dependencies_resolution                | false                                                     |
| disable_package_automatic_updates                   | false                                                     |
| use_system_scm                                      | false                                                     |
| xcode_path                                          | /Applications/Xcode_13.2.1.app                            |
+-----------------------------------------------------+-----------------------------------------------------------+

[12:15:48]: $ set -o pipefail && xcodebuild -workspace mobile/react-native-app/ios/RNApp.xcworkspace -scheme RNApp -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/runner/Library/Developer/Xcode/Archives/2022-04-23/output\ 2022-04-23\ 12.15.48.xcarchive clean archive | tee /Users/runner/Library/Logs/gym/RNApp-RNApp.log | xcpretty
[12:15:54]: ▸ Clean Succeeded
[12:16:03]: ▸ ❌  error: No certificate for team '***' matching '***' found: Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning. (in target 'RNApp' from project 'RNApp')
[12:16:03]: ▸ ** ARCHIVE FAILED **
▸ Clean Succeeded

❌  error: No certificate for team '***' matching '***' found: Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning. (in target 'RNApp' from project 'RNApp')


** ARCHIVE FAILED **
[12:16:03]: Exit status: 65
[12:16:03]: 
[12:16:03]: Maybe the error shown is caused by using the wrong version of Xcode
[12:16:03]: Found multiple versions of Xcode in '/Applications/'
[12:16:03]: Make sure you selected the right version for your project
[12:16:03]: This build process was executed using '/Applications/Xcode_13.2.1.app'
[12:16:03]: If you want to update your Xcode path, either
[12:16:03]: 
[12:16:03]: - Specify the Xcode version in your Fastfile
[12:16:03]: ▸ xcversion(version: "8.1") # Selects Xcode 8.1.0
[12:16:03]: 
[12:16:03]: - Specify an absolute path to your Xcode installation in your Fastfile
[12:16:03]: ▸ xcode_select "/Applications/Xcode8.app"
[12:16:03]: 
[12:16:03]: - Manually update the path using
[12:16:03]: ▸ sudo xcode-select -s /Applications/Xcode.app
[12:16:03]: 

+---------------+--------------------------------+
|               Build environment                |
+---------------+--------------------------------+
| xcode_path    | /Applications/Xcode_13.2.1.app |
| gym_version   | 2.205.1                        |
| export_method | app-store                      |
| sdk           | iPhoneOS15.2.sdk               |
+---------------+--------------------------------+

[12:16:03]: ▸ Build description path: /Users/runner/Library/Developer/Xcode/DerivedData/RNApp-ewerayqjcxdkbodnxmxofcrvtpff/Build/Intermediates.noindex/ArchiveIntermediates/RNApp/IntermediateBuildFilesPath/XCBuildData/6b4f9665a7914415ced43339b166aa40-desc.xcbuild
[12:16:03]: ▸ note: Build preparation complete
[12:16:03]: ▸ note: Building targets in dependency order
[12:16:03]: ▸ error: No certificate for team '***' matching '***' found: Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning. (in target 'RNApp' from project 'RNApp')
[12:16:03]: 
[12:16:03]: ⬆️  Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this error
[12:16:03]: 📋  For the complete and more detailed error log, check the full log at:
[12:16:03]: 📋  /Users/runner/Library/Logs/gym/RNApp-RNApp.log
[12:16:03]: 
[12:16:03]: Looks like fastlane ran into a build/archive error with your project
[12:16:03]: It's hard to tell what's causing the error, so we wrote some guides on how
[12:16:03]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[12:16:03]: Before submitting an issue on GitHub, please follow the guide above and make
[12:16:03]: sure your project is set up correctly.
[12:16:03]: fastlane uses `xcodebuild` commands to generate your binary, you can see the
[12:16:03]: the full commands printed out in yellow in the above log.
[12:16:03]: Make sure to inspect the output above, as usually you'll find more error information there
[12:16:03]: 
+---------------------------+-----------------------------------------------------+
|                                  Lane Context                                   |
+---------------------------+-----------------------------------------------------+
| DEFAULT_PLATFORM          | ios                                                 |
| PLATFORM_NAME             | ios                                                 |
| LANE_NAME                 | ios export_ipa                                      |
| KEYCHAIN_PATH             | ~/Library/Keychains/ios-build.keychain              |
| ORIGINAL_DEFAULT_KEYCHAIN | "/Users/runner/Library/Keychains/login.keychain-db" |
+---------------------------+-----------------------------------------------------+
[12:16:03]: Error building the application - see the log above

+------+------------------------------+-------------+
|                 fastlane summary                  |
+------+------------------------------+-------------+
| Step | Action                       | Time (in s) |
+------+------------------------------+-------------+
| 1    | default_platform             | 0           |
| 2    | create_keychain              | 0           |
| 3    | import_certificate           | 0           |
| 4    | install_provisioning_profile | 0           |
| 5    | update_code_signing_settings | 0           |
| 6    | update_project_provisioning  | 0           |
| 7    | update_project_team          | 0           |
| 💥   | build_app                    | 27          |
+------+------------------------------+-------------+

[12:16:03]: fastlane finished with errors

[!] Error building the application - see the log above

#######################################################################
# fastlane 2.205.2 is available. You are on 2.205.1.
# You should use the latest version.
# Please update using `fastlane update_fastlane`.
#######################################################################
# Run `gem cleanup` from time to time to speed up fastlane
#######################################################################

2.205.2 Improvements
* [action][update_project_provisioning] fail when profile cannot be verified (#20169) via Lukasz Grabowski
* [match] check validity of provisioning profile certificates (#20194) via Vitalii Budnik
* [spaceship] refresh token and retry on authorization errors (#19502) via Anderson Mesquita
* [frameit] add support for iPhone 13 device family with updated colors (#20148) via Braden Casperson
* [match] Avoid mutating app_identifiers (#201[25](https://github.com/see/pangu/runs/6140021012?check_suite_focus=true#step:9:25)) via Olivier Halligon

Please update using `fastlane update_fastlane`
Error: The process '/bin/bash' failed with exit code 1

Same here, any solutions so far?

same here any solution?

same problem, any solution?

same problem , any solution ?

Any one facing this issue, check if the CODE_SIGN_IDENTITY is matching the type of the certificate your are using
Eg: If you are using Apple Development certificate, make sure that you are passing "Apple Development"
This was the issue I was facing

@the-hungry-devel0per Did you mean passing "Apple Development" into the CODE_SIGN_IDENTITY

any solution yet?