ionic-team / trapeze

The mobile project configuration toolbox. Manage native iOS, Android, Ionic/Capacitor, React Native, and Flutter apps through a simple YAML format.
https://trapeze.dev
Other
328 stars 40 forks source link

How to specify provisioning profile in .yaml config file #209

Open BastienCivel opened 10 months ago

BastienCivel commented 10 months ago

Hello,

I have a mobile application in Angular ionic with capacitor, and it uses trapeze for the CI/CD. I have trouble understanding how can I specify the provisioning profile directly from the .yaml config file ? I'd like my .pbxproj file to have the correct profile after the trapeze build or any other way that would let me do it.

Thanks in advance !

gtbuchanan commented 2 months ago

Here's what I ended up with:

platforms:
  ios:
    targets:
      builds:
        Release:
          buildSettings:
            CODE_SIGN_STYLE: Manual
            CODE_SIGN_IDENTITY: iPhone Distribution
            DEVELOPMENT_TEAM: ABCDE12345
            PROVISIONING_PROFILE_SPECIFIER: My Profile

EDIT: Disregard the manual signing bit. It seems that's not supported by capacitor at the moment.