I need to set up my team's computers for running a macos app made with Flutter, for that purpose I read I need certificates and profiles and that fastlane match is an ideal tool for handling this pain. The thing is that this error shows up even after running the command properly:
error: Provisioning profile "match Development your.company.reverse.domain macos" doesn't include signing certificate "Apple Development: Your Company Team (ABC1N23WN4)". (in target 'Runner' from project 'Runner')
My tech lead said that this happens because my computer isn't (or wasn't) registered in our Apple account when the certificates were generated, so for automatizing the registering of every team member (and certificate rebuilding aftwerwards) I need to write a script for both registering my teammate's Mac and rebuilding the provisioning profiles. How can I do that?
Create a fastfile with the following:
That way you will be able to add a new device to you apple account by just running
fastlane installin your macos dir.Note: make sure you have a good configured Matchfile like the following one for having match working properly (or define in the lane the parameters otherwise):