I got a little excited about package trait support in Xcode 26.4. So I did some experimenting and ... I think it's great!
I got a little excited about package trait support in Xcode 26.4. So I did some experimenting and ... I think it's great!
@mattiem strange, I did some more playing and I’m pretty sure I’m seeing something not right. I got the same thing happening with just two Swift packages. One with traits that are enabled by default and another that depends on it but disabling the traits. If I run with swift run works like I’d expect. Run it in Xcode though and the traits are enabled. Got a post on the dev forums, hopefully someone knows what’s up or at least what I’m doing wrong😅