EasyARSwift Xcode Initiliaze Failed: EXC_BAD_ACCESS on easyar_Engine_initilize

0 votes
asked Jul 7 by datailangkawi (120 points)

Hello! I am using 2.0 Basic of Easy AR Swift. Created the licence on April 2019, it works fine until around last month when we try to run our project in Xcode. We did not change any Easy AR Swift configuration on our project, but the project failed during easyar_Engine_initilize. Since getting the error, when we try to run sample easyarswift projects, will get the same issue. Current Xcode version is 11.5, iOS is 13.5.1. Let me now if you guys need more info on this. Any help is really appreciate.

Here is the link of screenshot on where it failed: https://drive.google.com/file/d/1-XiTyhrimYnT2V07Ah6WozPTCmSiz0I4/view?usp=sharing

1 Answer

0 votes
answered Jul 16 by zhangpengar (3,020 points)
We have found this problem in our internal test recently and it is caused by a change of variable lifetime in XCode 11.4. Some pointers is released prematurely and causes memory access problems.

We have fixed it and it will be included in a recent 4.1.0 release.

Unfortunately, 2.0 is not supported anymore. As a workaround, you can use XCode 11.3 and consider upgrade to 4.1.0 when it is out.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...