How to use match with two different bundle ids? #17403
-
I'm currently about to go insane trying to understand how to use match with two different bundle ids. Basically, I have one bundle ID for development, and another for production. I am able to build these using Fastlane if I change the Provisioning Profile value for "Signing (Release)" within xcode. But - afaik match is suppose to handle this for me. I've read the match documentation as well as Setting up your Xcode Project from top to bottom but I can't for the life of me understand what I'm doing wrong. The error I keep getting (unless I've manually changed to the correct value in xcode) is of this type:
But as you can see in the screenshot below, the Gym summary clearly (at least to me) states that the profile matching is correct: My complete fastfile contains some unrelated stuff as well, but this is the gist of my current build setup:
FYI, I use different env variables to set different app identifiers for the the app versions. I've tried without What am I doing wrong? Isn't match supposed to automatically handle this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @AdamGerthel 👋 Does this help? 🙈 |
Beta Was this translation helpful? Give feedback.
-
My issue seems to be related to this: #15338 But there's no solution mentioned there which will work for me since I can't use environment variables which use bundle ids. UPDATE: I think I solved it by using
|
Beta Was this translation helpful? Give feedback.
My issue seems to be related to this: #15338
But there's no solution mentioned there which will work for me since I can't use environment variables which use bundle ids.
UPDATE: I think I solved it by using
update_project_provisioning
before runningbuild_app
with the profile path supplied bymatch
(which usessigh
)