Open jkmathew opened 1 month ago
Yes, that is a bug. The fix is easy: in XcodeProjIntegrate.swift
we should prefix each configuration with --configuration
, so something like:
let args = consumerEligibleConfigurations.flatMap {["--configuration", $0]} + consumerEligiblePlatforms.flatMap {["--platform", $0]}
If you could prepare a PR with (bonus points for a test), that would be a good starter task.
My integration setup
xcprepare integrate ...
Expected/desired behavior The xcprepare integrate should work with multiple
--consumer-eligible-configurations
.Minimal reproduction of the problem with instructions
Run the integrate command with comma-separated consumer-eligible-configurations
Consumer Logs
I ran this command,
No matter what is the value of
consumer-eligible-configurations
if there is a comma, it fails. If I run separately it either runs without error or fails withnoArtifactsToReuse
depending on the availability of artefacts, Which is expected.Environment