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
323 stars 40 forks source link

Add a file to XCode Project (e.g., GoogleService-Info.plist)? #196

Open Dr-Zhi opened 1 year ago

Dr-Zhi commented 1 year ago

Hi,

I'm wondering if there is a way to add a file to XCode project programmatically? Using copy is not sufficient, as XCode does not automatically recognize the new file in its folder. Thanks!

platforms:
  ios:
    targets:
      App:
        copy:
          - src: ../firebase/GoogleService-Info.plist
            dest: App/GoogleService-Info.plist