yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
6.88k stars 809 forks source link

is it possible to set different Configs for one `Extension` target when adding as dependency to different `Application` targets ? #1479

Open coderxdotwang opened 3 weeks ago

coderxdotwang commented 3 weeks ago

For projects with several application targets and extension targets, we add extension target as dependencies to application target, but we may want extension target(eg Share Extension)use different Configs(eg 'PRODUCT_BUNDLE_IDENTIFIER')when embed in differernt application targets. because application targets may have different identifiers,and "If an app contains an app extension, the app extension’s bundle identifier must be prefixed by the app’s bundle identifier."

How to accomplish this ? Any tips and examples are appreciated.