So, I've encountered this issue for the past 2 days and I am not able to get to the root of the problem. When I'm calling the createImageTrackerFromTargetCollectionResource:delegate:configuration method, there is an exception raised by memory allocation issues. The console shows:
malloc: *** mach_vm_map(size=1819115520) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
The .wtc file exists in the NSURL passed to the method and it's only 263 bytes.
Despite of the error being raised, there is a WTImageTracker object created but it doesn't recognise any of the targets.
I am calling this from Swift 4.1 code and I'm using the version 7.2.1 of your SDK.
This started happening randomly. Everything was working fine during testing and next time it compiled, it started happening and it hasn't stopped.
Any help into solving this will be greatly appreciated.
Can you describe your setup in more detail? Maybe you can share a demo project or a snippet of your code that shows the Wikitude SDK usage.
Is the same log occurring if you use our example app?