![]() UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object) Initializing Metal device caps: Apple A9 GPU GfxDevice: creating device client threaded=1 21:08:20.930102+0300 InAppUpdateDemo Metal API Validation Enabled 21:08:17.441953+0300 InAppUpdateDemo Unknown class ViewController in Interface Builder file. This clearly made some progress as now I'm getting this error: I had to also enable the embed & sign option afterwards. In the wanted Xcode workspace I copied it under Frameworks in Native Xcode project by drag and dropping the folder using the "create groups" and "copy files if needed" options. The path to it was Frameworks/Plugins/iOS/. I copied the amework from the Xcode project built by Unity. I decided to create a fresh demo project for this issue with same versions obviously. TLDR: If my assumption of this error is correct then how do I link Wikitude correctly in a Xcode workspace that has both the Unity-iPhone and native single page iOS application Xcode projects? I'm hoping for a robust solution that will work for future versions as well so that this issue doesn't repeat. I don't have too much experience as a iOS developer anyway so all ideas are welcome. This relation is broken when the Unityframework library is loaded from a native iOS Xcode project. Wikitude instead is tied to that framework on project level and that's why it's a plugin. Therefore, it's located under the "Products" folder in Xcode. This seems to be caused by the fact that amework is a library. Adding Wikitude SDK causes runtime failures for the build with error messages such as this one: Error loading /var/containers/Bundle/Application//.app/Frameworks/amework/UnityFramework: dlopen(/var/containers/Bundle/Application//.app/Frameworks/amework/UnityFramework, 265): Library not loaded: from: /private/var/containers/Bundle/Application//.app/Frameworks/amework/UnityFramework The bridging works fine when I try it on projects that don't have Wikitude. So, I'm trying to create a native iOS app that uses Unity as a library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |