Start a new topic

Wikitude SDK DETECTED MULTIPLE SDK ALLOCATIONS

Hi

I am using Wikitude iOS JavaScript SDK(7.2.1).

I am getting "Wikitude SDK DETECTED MULTIPLE SDK ALLOCATIONS" message and my app crash.


Scenario for crash-

In my app button action from home view controller  , WTArchitectView controller pushed to navigation stack. Then I pop out from WTArchitectView controller  to HomeView controller.

If I do this step again and again , my app crashes and on console show below message.


----------------- Wikitude SDK DETECTED MULTIPLE SDK ALLOCATIONS -----------------

A second object of type WTArchitectView was created while the previous one was not deallocated.


If this behaviour was not intended (multiple architect views at the same time), The WTArchitectView didn't got a call to dealloc.


Kindly suggest any solution for this


Hi Ashok,


Could you please refer to the forum posts below and see if these can help you fix your issue:

Thanks

Eva

These above links are not useful to me. I purchased Wikitude Production key. I am using in my ios app.

I wrote below code in viewWillDisppear.


 if self.architectView?.isRunning == true{

            self.architectView?.stop()

            self.architectView.clearCache()

 } 


In ViewController deinit method, I am making assigning nil to architectView

deinit{

   self.architectView = nil

 }

Login or Signup to post a comment