Carthage support was optimised (#384) to run update --platform against the project's target platform only.
Unfortunately, update will be skipped when switching platform because the detection is flawed: even when targeting a single platform, Carthage will compile some libraries against all platforms.
Solution could be to add an xcodebuild.carthagePlatforms to override the platform detection and allow specifying multiple platforms like iOS + tvOS.
Additionally, peeking at Cathage/Build/<platformname> should be removed.
Carthage support was optimised (#384) to run
update --platform
against the project's target platform only.Unfortunately, update will be skipped when switching platform because the detection is flawed: even when targeting a single platform, Carthage will compile some libraries against all platforms.
Solution could be to add an
xcodebuild.carthagePlatforms
to override the platform detection and allow specifying multiple platforms like iOS + tvOS.Additionally, peeking at
Cathage/Build/<platformname>
should be removed.