Configuration dependant info.plist values

In Xcode i have section Info.plist values that override some Info.plist properties if any is set.

Since i want my app “Bundle Display Name” to be different depending on my current schema configuration (im using diff configuration for diff schema.)

I can’t find the way in my Project.swift change that properties.

Here is a distillation of Project.swfit is

--------Project.swift------------

let DevConfig = Configuration.debug(
name: .configuration(“Dev”),
settings: [
“BUNDLE_DISPLAY_NAME”: “TestApp”
],
xcconfig: “./MediaPlayer/Resources/TargetConfig/Dev/Dev.xcconfig”
)

let StoreConfig = Configuration.release(
name: .configuration(“Store”),
settings: [
“BUNDLE_DISPLAY_NAME”: “StoreApp”
],
xcconfig: “./MediaPlayer/Resources/TargetConfig/Store/Store.xcconfig”
)

Can you help me?

Hey!

You should be able to use build settings values in your Info.plist. It would be very similar to specifying a custom bundle id: Target bundleID mandatory supersets Project flavors (setting configurations) · Issue #5265 · tuist/tuist · GitHub

Note you’ll need to extend the default Info.plist generated by Tuist: InfoPlist · Project Description · References · Tuist.

You can find an example of this at: tuist/fixtures/multiplatform_app_with_extension/Project.swift at aea3bd10a7d6329d2dff9f6ca39c97752ac1d93e · tuist/tuist · GitHub

Thanks for your reply but I solved using proper attributes by Apple documentation