-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to generate plists and entitlements files. #406
Comments
Hi @lukewakeford. I'm not totally clear on what you mean. Could you explain your use-case a bit more? Also, I haven't work on it in a while but I was in the process of creating a generated starter xcodegen project to https://github.com/yonaskolb/Genesis as a customisable template |
Hey @yonaskolb 👋 It looks like I could benefit from some of the other suggestions. Our white-label app has this structure:
I've managed to re-produce our Xcode project using XcodeGen with a spec for each target which are kept generic. Each instance of our white-label app can then include these and override the configuration, provisioning, entitlements and plists as below:
The entitlements and plist files already exist since Xcode made them for me and each white-label instance has these, but it would be nice to delete them and keep all this configuration in one spec file. The .plist files are mostly identical across each white-label instance so I'd like to be able to include a template .plist file and then override/add just the values that change. the entitlements files are not massive (yet) but the same applies - maybe something like this:
If a path is not provided then generating an xml file with the given attributes would be sweet 👍 Thats where I'm at anyway. Let me know if you think this could be helpful for others or if mine is quite a specific use case. |
I think something like Another level would be that if you specified an |
@lukewakeford Added in #415! Let me know what you think. This will be useful in combination with |
This looks excellent. Thanks so much! i'll be using this asap. |
Released in 2.0.0 |
I'm looking at using XcodeGen to simplify our CI for a white-label project.
Including existing plists and entitlement files works at the moment but it would be nicer to keep the setup for these in the same place as the rest of the project/target config as yaml/json.
Has this been considered before, if not why? and is there a better way to do this that I've not found yet?
Cheers.
The text was updated successfully, but these errors were encountered: