I'm trying to use the JS API version 9.0.0 on Xcode for a project. I'm doing my test on an iPhone X using the OS version : 13.4.1.
The crash happens in an app of my own with a personal world or a sample world.
The crash doesn't happens on the sample app which can be find on the App Store but I'm not sure which version is using this app as it hasn't been updated for a year.
My crash happens every time that I try to load a world into the architectView, I have this error "Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Attempt to add script message handler with name 'asynchronousWikitudeScriptMessageHandler' when one already exists.'"
May you help me ?
1 Comment
T
Thibault Deprez
said
over 3 years ago
The crash was coming from the fact that the architectView.loadArchitectWorld was running while the architectView.start function
Thibault Deprez
Hi,
I'm trying to use the JS API version 9.0.0 on Xcode for a project. I'm doing my test on an iPhone X using the OS version : 13.4.1.
The crash happens in an app of my own with a personal world or a sample world.
The crash doesn't happens on the sample app which can be find on the App Store but I'm not sure which version is using this app as it hasn't been updated for a year.
My crash happens every time that I try to load a world into the architectView, I have this error "Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Attempt to add script message handler with name 'asynchronousWikitudeScriptMessageHandler' when one already exists.'"
May you help me ?