Skip to content
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

Enable editing .xcconfig files or other key=value based files #95

Closed
leo-jnesis opened this issue Aug 8, 2022 · 4 comments
Closed

Enable editing .xcconfig files or other key=value based files #95

leo-jnesis opened this issue Aug 8, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@leo-jnesis
Copy link
Contributor

Hi guys ! Amazing job on this project, as always ❤️

We have a project which takes advantage of XCode Configuration Files to easily handle debug/release builds (https://developer.apple.com/documentation/xcode/adding-a-build-configuration-file-to-your-project)

I might have missed it in the docs, but it seems we can't update those kind of files.
I would imagine using it a bit like json where we would directly target the right property and set its value :

  - file: ios/App/Configs/base.xcconfig
    set: 
      MARKETING_VERSION: 4.3.2

Thanks !

@mlynch
Copy link
Contributor

mlynch commented Aug 18, 2022

Correct, these aren't supported yet but certainly fair game. I'll add this as a future enhancement idea. Thanks!

@mlynch mlynch added the enhancement New feature or request label Aug 18, 2022
@mlynch
Copy link
Contributor

mlynch commented Aug 30, 2022

This file format is simple but not really documented at all. More info here for future reference https://pewpewthespells.com/blog/xcconfig_guide.html

@mlynch
Copy link
Contributor

mlynch commented Dec 1, 2022

With the custom parser work done to support .strings files in #116, this should be doable

mlynch added a commit that referenced this issue Dec 4, 2022
mlynch added a commit that referenced this issue Dec 5, 2022
* Simpler xcconfig approach for #95

* Tests pass

* Start xcconfig operation for ios

* Added xcconfig command

* Register op

* Register op
@mlynch
Copy link
Contributor

mlynch commented May 22, 2023

Must have forgotten to close this because this was shipped a while back: https://trapeze.dev/docs/Operations/ios#xcconfig

@mlynch mlynch closed this as completed May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants