Before 2019.3, it used to be relatively easy to target Swift classes from Unity (triggering Swift methods from Unity, not the other way around), through a bridging header and a C wrapper. Sure it’d take a bit of setup on xcode, but that could be easily automated via a post processor.
But I haven’t been able to do that in 2019.3. I managed to work around the deprecated methods in PBXProject (which I don’t think are related), but I keep hitting a wall as far as bridging is concerned.
I’ve read all the documentation and threads I could without finding anything relevant. I understand it may not be the most common usecase but when trying to target iOS’s latest features, I can’t really think of another way of doing things.
Is there an example of Unity to Swift communication for 2019.3 available somewhere?
tl;dr : this sort of thing used to work, doesn’t anymore, makes me very sad ![]()