artoolkitx / arunityx

artoolkitX for Unity, providing high-performance video acquisition, marker and texture tracking and full Unity Editor support
https://www.artoolkitx.org/
Other
41 stars 22 forks source link

Unable to build for iOS with latest Xcode and iOS 16.4 platform #66

Closed EtharBuildBot closed 1 year ago

EtharBuildBot commented 1 year ago

While I was previously able to build, I couldn't run on device as Apple has updated their Xcode platform.

Now I cannot even build as I get the following error in Unity:

EntryPointNotFoundException: arwRegisterLogCallback assembly: type: member:(null) PluginFunctionsARX.arwRegisterLogCallback (PluginFunctionsLogCallback lcb) (at Assets/artoolkitX-Unity/Scripts/PluginFunctionsARX.cs:99) ARController.OnDisable () (at Assets/artoolkitX-Unity/Scripts/ARController.cs:564) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun() (at /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindow.cs:180)

I'm at a loss :S

philip-lamb commented 1 year ago

This is probably just a matter of updating the ARX native lib to 1.1.7

cd arunityx/Source
./build.sh ios

Then open the project in Unity again.

EtharBuildBot commented 1 year ago

Sadly @philip-lamb, no such folder exists in the 1.1.7 Unity asset I downloaded. So, do I need to rebuild the plugin from source in order to use iOS?

philip-lamb commented 1 year ago

Ah, I had assumed you were working from the repo's "Package" folder. I'll see if I can reproduce. The 1.1.7 release unitypackage should have had the correct libARX v1.1.7 for iOS that exposes this function..

SimonDarksideJ commented 1 year ago

Where possible, I try to only test with the deliverables, as that is what general consumers will use.