-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following tutorial missing a step #4
Comments
Hey thanks for the heads up, are you sure you added the header as a C header bridge? |
I will published an updated version I worked on anyway, that setup the xcode framework directly in the Unity build system. It removes any manual step needed |
The missing bridge header was it! I saw that step in other tutorials but must have missed it in this one. I'm looking forward to your next version :) |
No need anymore to manually bridge with the next version: https://davidpeicho.github.io/blog/unity-swiftui-integration-revisited/ I haven't finished the blog post, might have a lot of spelling mistakes and all! But basically the trick is to use a post build step in Unity. The |
I followed your tutorial and always got errors from xCode not being able to find TestDelegate and other NativeCallProxy types. I spent days trying to figure this out. The missing step was to edit the UnityFramework file and add #include "NativeCallProxy.h". Either there is some a in your unity project that I don't get by default before building, or this step should be part of the procedure. Otherwise great tutorial!
The text was updated successfully, but these errors were encountered: