"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Integrate Unity-generated project into existing iOS Application

Hi everyone, we've been using Vuforia for some time now and it's awesome. We've developed a RA game in Unity that we have successfully integrated into an existing Android Application (pretty straightfoward, Android allows us to simply modify the generated app into a library to integrate it properly in any application).

But now that we want to integrate the same Unity-generated application in an existing iOS application (Swift 5), we're dealing with a lot of issues.

What we've tried and almost succeed with : 

- Generate the iOS app with unity into a sub-folder of the main application

- Merge the two pbxprojs and delete the unity-generated one

 

App almost compiles, but we get very stranges issues when compiling IL2CPP code (e.g. in mscorlib9.cpp : 

No previous prototype for function 'Pointer_System_Runtime_Serialization_ISerializable_GetObjectData_m66D87677AE6363A19095B52EB6BA769E0701A32B'

)

Have anyone ever succeeded in integrating the Unity-generated iOS project into an already-existing iOS Application ?