How to specify package traits in Xcode #301
-
|
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! |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you @mbrandonw ! |
Beta Was this translation helpful? Give feedback.
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.