Manage iOS Code Signing issue

yevgenPaykey
Fri, 13 Feb 2026 14:34:34 +0000
iOS

Hi everyone!

I’m struggling with Manage iOS Code Signing step. It doesn’t pick up proper bundle id (staging) and tries to sign with production one. Bundle id in my app is set using xcconfig files. The step has proper configuration (Release-Staging). In logs I can see it builds first using proper config:

[14:13:25] $ xcodebuild "-project" "/Users/[REDACTED]/git/[REDACTED]/[REDACTED]/[REDACTED].xcodeproj" "-target" "[REDACTED]" "-configuration" "Release-Staging" "-showBuildSettings"

but then tries to use default bundle ids:

Local code signing assets not found for:
Archivable targets (2)
- com.company.app
- com.company.app.AppExtension

I tried to add “Replaces Xcode’s project PRODUCT_BUNDLE_IDENTIFIER” step before Signing step. It helped a but but crashed because entitlements still must be replaced with staging ones.

Also switching this step to “Xcode Archive & Export for iOS” doesn’t help (configuration is not applied)

How can I dynamically pick proper bundleId, entitlements based on configuration?

2 posts - 1 participant