You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When linking a target with a subset of supported platforms without a specified condition to a target with a superset of platforms the linked target will be linked as "Always" without any filters.
This is incorrect. Imagine having a target A that defines destinations like so:
destinations: [.iPad,.iPhone]
Another target B defines its destination as:
destinations: [.iPad,.iPhone,.mac,.appleTv]
And then target B links target A:
dependencies: [
.target(name: "TargetA")
]
TargetA will get always linked even though it only supports the iOS platform
How do we reproduce it?
Add an iOS only framework to the multiplatform_app_with_sdk fixture
What happened?
When linking a target with a subset of supported platforms without a specified
condition
to a target with a superset of platforms the linked target will be linked as "Always" without any filters.This is incorrect. Imagine having a
target A
that defines destinations like so:Another
target B
defines its destination as:And then
target B
linkstarget A
:TargetA will get always linked even though it only supports the iOS platform
How do we reproduce it?
Add an iOS only framework to the
multiplatform_app_with_sdk
fixtureError log
N/A
macOS version
14.3.1 (23D60)
Tuist version
4.3.4
Xcode version
15.2
The text was updated successfully, but these errors were encountered: