Hello
We use multiple info.plist file based on configuration.
Tuist seems to use only one info.plist file per target.
So i try to specify them from xcconfig files. INFOPLIST_FILE property is correctly specified at project level but overridden at target level with the infoPlist value of the target.
To Reproduce
Steps to reproduce the behavior:
INFOPLIST_FILE=App-Info-debug.plist in app.debug.xcconfig
INFOPLIST_FILE=App-Info-release.plist in app.release.xcconfig
let configurations: [CustomConfiguration] = [
.debug(name: "Debug", xcconfig: "Configuration/app.debug.xcconfig"),
.debug(name: "Release", xcconfig: "Configuration/app.release.xcconfig"),
target(name: "App",
platform: .iOS,
product: .app,
bundleId: "$(inherited)",
deploymentTarget: .defaultDeployment,
infoPlist: "App-Info-release.plist", // Mandatory
sources: ["Sources/**"],
resources: ["Resources/**"],
settings: Settings(configurations: configurations, defaultSettings: .none)
Expected behavior
I expect that settings in xcconfig files are not overridden by target parameter
What would be the right way to proceed ?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too