Skip to content

How do I use SwiftUSD with Xcode based projects? #20

Answered by furby-tm
x001017 asked this question in Q&A
Discussion options

You must be logged in to vote

@x001017 going through Xcode now (through Xcodeproj, as opposed to the SwiftPM route), wow! Xcode really overcomplicates the simplicity of SwiftPM's package manifest system.

Hidden through various settings, I believe you should get it to work.

  1. Create a new app in Xcode.

  2. Add the SwiftUSD package to your Xcode project like so:

  3. Additionally you must add the PixarUSD product to your app's target.

  4. A very important step, and one that is way too hidden, you need to enable C++ interoperability mode here:

  5. Equally as important, you need to ensure you set the Swift version to 6, here:

  6. You need to change yet another very hidden setting buried in your Xcode project, which is to set the…

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@furby-tm
Comment options

@furby-tm
Comment options

@x001017
Comment options

@x001017
Comment options

@furby-tm
Comment options

Comment options

You must be logged in to vote
1 reply
@x001017
Comment options

Answer selected by x001017
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants