e-sites / Natrium

A pre-build (Swift) script to alter your Xcode project at pre-build-time per environment, build configuration and target.
https://www.e-sites.nl
MIT License
146 stars 15 forks source link

plists in target specific #3

Closed mapo80 closed 6 years ago

mapo80 commented 6 years ago

I think there's a bug with target specific.

If I use this configuration:

target_specific:
    target_name:
        plists:
            "plist_path":
                CFBundleDisplayName:
                    Mock: XXXX
                    Dev: BG dev
        variables:
            var_1: "var_1"
            var_2: "var_2"

I can't set CFBundleDisplayName, in fact log contains this:

03/07/2018, 19:45:05 -   [target_specific:target_name]
03/07/2018, 19:45:05 -     variables
03/07/2018, 19:45:05 -       var_1 = var_1
03/07/2018, 19:45:05 -       var_2 = var_2
03/07/2018, 19:45:05 -       plists
03/07/2018, 19:45:05 -         -empty-

Plists is empty, how to fix this?

Thanks.

basvankuijck commented 6 years ago

Update to 5.6.1 and try again

mapo80 commented 6 years ago

Thanks very much, it works. Fixed