EasyARSwift Xcode Initiliaze Failed: EXC_BAD_ACCESS on easyar_Engine_initilize

0 votes
asked Jul 7, 2020 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, 2020 by zhangpengar (3,060 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.
commented Sep 28, 2020 by yannick (430 points)
Still the same problem in the Sense 3 versions.  I can't make my client upgrade to version 4 right now,  so it's a big problem.

On Xcode 12.0.1
commented Sep 28, 2020 by zhangpengar (3,060 points)
There won't be any updates for EasyAR Sense 3.x now.
You can use XCode 11.3 or consider upgrade to EasyAR Sense 4.1.
XCode 11.3 can be used until April 2021, when XCode 12 is required for App Store submission.
(Starting April 2021, all iOS and iPadOS apps submitted to the App Store must be built with Xcode 12 and the iOS 14 SDK. https://developer.apple.com/ios/submit/)
commented Dec 6, 2020 by datailangkawi (120 points)
Hello! It's working after i upgrade to 4.1.0 version. Thank you for your assists!
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...