We use a Swift plugin to connect to GPS's in our iOS application. We just switched to Unity 2019 in the past month (previously were on 2018.4.14f1) and have successfully switched everything else over except for this plugin. We have tried 2019.3.15f1 and 2019.4.3f1.
The project successfully builds from Unity, but when I open it in XCode I get an error about UnitySendMessage:
![alt text][1]
I know UnitySendMessage can be difficult from Swift, so I tried moving just that call to Objective-C and the error message went away so I could try to build it to a device. However, it looks like Unity is not creating the Swift header file it's supposed to create.
I don't believe this should have broken between 2018 and 2019. Has anyone else had success in using a Swift plugin in Unity 2019?
[1]: /storage/temp/163127-screen-shot-2020-07-10-at-10712-pm.png
↧