Vivox in Ios mode has error

Hello, whenever I run unity on the editor (IOS platform ) I encounter this error and when I build the project for Xcode 14 and build the project on the Ios simulator, I encounter the second error log.
Vivox version: “com.unity.services.vivox”: “15.1.180000-pre.1”
Unity Version: 2021.3.11 f1 LTS

EntryPointNotFoundException: SWIGRegisterExceptionCallbacks_VivoxCoreInstance assembly:<unknown assembly> type:<unknown type> member:(null)
VivoxCoreInstancePINVOKE+SWIGExceptionHelper..cctor () (at Library/PackageCache/com.unity.services.vivox@15.1.180000-pre.1/Runtime/VivoxUnity/swig/VivoxCoreInstancePINVOKE.cs:128)
Rethrow as TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception.
VivoxCoreInstancePINVOKE..cctor () (at Library/PackageCache/com.unity.services.vivox@15.1.180000-pre.1/Runtime/VivoxUnity/swig/VivoxCoreInstancePINVOKE.cs:148)
Rethrow as TypeInitializationException: The type initializer for 'VivoxCoreInstancePINVOKE' threw an exception.
VivoxUnity.Client.get_Initialized () (at Library/PackageCache/com.unity.services.vivox@15.1.180000-pre.1/Runtime/VivoxUnity/Client.cs:220)
VivoxUnity.Client.Uninitialize () (at Library/PackageCache/com.unity.services.vivox@15.1.180000-pre.1/Runtime/VivoxUnity/Client.cs:165)
VivoxManager.Awake () (at Assets/Neoki/Scripts/In-Game/VoiceChat/VivoxMobile/VivoxManager.cs:73)

Xcode Error:

    reinterpret_cast<PInvokeFunc>(SWIGRegisterExceptionCallbacks_VivoxCoreInstance)(____applicationDelegate0_marshaled, ____arithmeticDelegate1_marshaled, ____divideByZeroDelegate2_marshaled, ____indexOutOfRangeDelegate3_marshaled, ____invalidCastDelegate4_marshaled, ____invalidOperationDelegate5_marshaled, ____ioDelegate6_marshaled, ____nullReferenceDelegate7_marshaled, ____outOfMemoryDelegate8_marshaled, ____overflowDelegate9_marshaled, ____systemExceptionDelegate10_marshaled);

[Update]
The first error has gone, I updated Vivox package to “com.unity.services.vivox”: “15.1.180001-pre.5”,

but I still have the second error in xcode.

Are you using Vivox from the asset in the Unity Asset Store or are you downloading the iOS Unity SDK from
the Vivox Developer Portal?

None of them.
I put "com.unity.services.vivox": "15.1.180001-pre.5" in the manifest.json file in the package folder and I let the unity to sync and resolve the package.

tip: I use the simulator for my tests

Oh ok, sorry I haven’t tested out Unity’s version yet (technically they are both Unity’s) so I can’t help you. I will download an IOS simulator at some point and try my project out and see if I get the same error

Hello!

I am glad to hear you were able to resolve your first error of EntryPointNotFoundException. I’ll post this here, in case you ever run into the error again, you can fix EntryPointNotFoundException by following this guide: https://support.unity.com/hc/en-us/articles/4436163785748-Vivox-Fixing-EntryPointNotFoundException-Errors-on-Mac-for-Unity

Regarding the second error you are seeing, unfortunately we do not support iOS Simulator at this time. You can feel free to follow this article for updates: https://support.unity.com/hc/en-us/articles/4772221306388-Vivox-Does-Vivox-offer-iOS-Simulator-Support

I will also take note of your post here to help gauge community interest in supporting the iOS Simulator for Vivox. Thank you for your time and I wish you the best with your development.

1 Like

@emilyryan Providing support for IOS simulator would be awesome!!! It would be helpful to devs like myself to be able to test on IOS without having to buy an apple iPhone to test out using Vivox.

Not Solved, I am Getting error in IOS DEVICE
EntryPointNotFoundException: SWIGRegisterExceptionCallbacks_VivoxCoreInstance assembly: type: member:(null)
For IOS
Unity Version 2021.3.28f1
Vivox Version: 15.1.230000-pre.1

@Appon-Software-Private-Limited the iOS simulator is only supported on versions 16.0.0+ of the Vivox Unity SDK.