How to specify package traits in Xcode #301
Answered
by
mbrandonw
okmaybenot
asked this question in
Q&A
|
Some features of the library require enabling specific package traits. I couldn’t figure out how to do this in Xcode – could someone help? I mean, afaik there's no explicit swift package file in Xcode. Thank you! |
Answered by
mbrandonw
Nov 20, 2025
Replies: 2 comments 1 reply
|
Yeah Xcode does not support SPM traits. We recommend filing a feedback with Apple to apply pressure to get them to fix that, but in the meantime you can add an SPM package to your Xcode project. |
0 replies
Answer selected by
okmaybenot
|
Thank you @mbrandonw ! |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah Xcode does not support SPM traits. We recommend filing a feedback with Apple to apply pressure to get them to fix that, but in the meantime you can add an SPM package to your Xcode project.