Description
When enabling the SwiftPackageList Build Tool Plugin to generate a Settings.bundle (--output-type settings-bundle), the Xcode build fails with:
Multiple commands produce
.../Build/Products/Debug-iphonesimulator/XY.app/Settings.bundle
This occurs when the app target already contains a manually created Settings.bundle with custom settings and an Acknowledgements child pane added exactly as described in the documentation.
Steps to reproduce
- Add SwiftPackageList as an Xcode Build Tool Plugin to an iOS app target
- Configure the plugin to run with
--output-type settings-bundle
- In the same app target, add your own
Settings.bundle (with custom settings / Root.plist)
- Add the
Acknowledgements child pane to Root.plist exactly as described here:
https://github.com/FelixHerrmann/swift-package-list?tab=readme-ov-file#settings-bundle
- Build the app
Expected behavior
- It should be possible to combine:
- a manually maintained
Settings.bundle (custom settings), and
- automatically generated acknowledgements
- The build should not fail, and only a single
Settings.bundle should be embedded in the final app.
Actual behavior
- Xcode fails the build with a “Multiple commands produce …/Settings.bundle” error
- Xcode attempts to copy:
- the manually added
Settings.bundle, and
- the
Settings.bundle generated by the build tool plugin
into the same destination path inside the app bundle
Environment
- Xcode:
26.2
- macOS:
26.2
- SwiftPackageList version:
4.9.0
- Target: iOS 26.2
Notes
The documentation explains how to set up Acknowledgements.plist as a child pane, but does not describe how this should work when the tool is used as an Xcode Build Tool Plugin, where the plugin always produces its own Settings.bundle.
This makes it unclear how to combine custom app settings with generated acknowledgements without hitting a duplicate bundle build error.
Description
When enabling the SwiftPackageList Build Tool Plugin to generate a
Settings.bundle(--output-type settings-bundle), the Xcode build fails with:This occurs when the app target already contains a manually created
Settings.bundlewith custom settings and anAcknowledgementschild pane added exactly as described in the documentation.Steps to reproduce
--output-type settings-bundleSettings.bundle(with custom settings /Root.plist)Acknowledgementschild pane toRoot.plistexactly as described here:https://github.com/FelixHerrmann/swift-package-list?tab=readme-ov-file#settings-bundle
Expected behavior
Settings.bundle(custom settings), andSettings.bundleshould be embedded in the final app.Actual behavior
Settings.bundle, andSettings.bundlegenerated by the build tool plugininto the same destination path inside the app bundle
Environment
26.226.24.9.0Notes
The documentation explains how to set up
Acknowledgements.plistas a child pane, but does not describe how this should work when the tool is used as an Xcode Build Tool Plugin, where the plugin always produces its ownSettings.bundle.This makes it unclear how to combine custom app settings with generated acknowledgements without hitting a duplicate bundle build error.