[ci-bitrise] Restore manage-ios-code-signing with platform pinned instead of removed

Removing it earlier also removed the cert/profile provisioning it does
before archive — same mechanism LC Wallet's pipeline actually relies on.
The export failure ('No profiles for com.br.pedifoods.app were found',
'Cloud signing permission error') was that provisioning step missing,
not a Developer Portal or API key permission problem — both were already
confirmed fine. Should have looked for a platform override on this step
first, same as xcode-archive@5, instead of deleting it outright.
This commit is contained in:
Daniel Arantes Loverde
2026-07-09 18:13:54 -03:00
parent 44726ce120
commit 41bfc70171

View File

@@ -105,6 +105,15 @@ workflows:
- content: | - content: |
cd $BITRISE_SOURCE_DIR/Darwin cd $BITRISE_SOURCE_DIR/Darwin
agvtool new-version -all $BITRISE_BUILD_NUMBER agvtool new-version -all $BITRISE_BUILD_NUMBER
- manage-ios-code-signing@2:
inputs:
- distribution_method: app-store
- project_path: $BITRISE_PROJECT_PATH
- scheme: $BITRISE_SCHEME
# SDKROOT = auto on this target (Skip's multi-platform build)
# breaks the step's own platform auto-detection — pin it,
# same fix as xcode-archive@5 below.
- platform: iOS
- xcode-archive@5: - xcode-archive@5:
inputs: inputs:
- project_path: $BITRISE_PROJECT_PATH - project_path: $BITRISE_PROJECT_PATH
@@ -112,8 +121,6 @@ workflows:
- distribution_method: $BITRISE_DISTRIBUTION_METHOD - distribution_method: $BITRISE_DISTRIBUTION_METHOD
- automatic_code_signing: api-key - automatic_code_signing: api-key
- register_test_devices: "no" - register_test_devices: "no"
# SDKROOT = auto on this target (Skip's multi-platform build)
# breaks the step's own platform auto-detection — pin it.
- platform: iOS - platform: iOS
- deploy-to-itunesconnect-deliver@2: - deploy-to-itunesconnect-deliver@2:
inputs: inputs:
@@ -151,6 +158,12 @@ workflows:
- content: | - content: |
cd $BITRISE_SOURCE_DIR/Darwin cd $BITRISE_SOURCE_DIR/Darwin
agvtool new-version -all $BITRISE_BUILD_NUMBER agvtool new-version -all $BITRISE_BUILD_NUMBER
- manage-ios-code-signing@2:
inputs:
- distribution_method: app-store
- project_path: $BITRISE_PROJECT_PATH
- scheme: $BITRISE_SCHEME
- platform: iOS
- xcode-archive@5: - xcode-archive@5:
inputs: inputs:
- project_path: $BITRISE_PROJECT_PATH - project_path: $BITRISE_PROJECT_PATH