EasyAR SDK 4.0 Unity sample iOS compile link error

+2 votes
asked Jan 9, 2020 by oiio01 (160 points)

Showing Recent Messages

Undefined symbol: _OBJC_CLASS_$_ARSession

Undefined symbol: _OBJC_CLASS_$_ARWorldTrackingConfiguration

Unity version 2018.4.14f1

Xcode Version 11.3 (11C29)

1 Answer

+1 vote
answered Jan 12, 2020 by zhangpengar (3,060 points)
Since our Unity plugin uses the static version of easyar.framework and we support ARKit in EasyARSense 4, you'll need to add ARKit.framework as an optional framework dependency, whether you use ARKit or not.

Our documentation for EasyAR Sense Unity Plugin is not online yet, which will include instructions for this problem.

I'm sorry for the inconvenience.
commented Sep 16, 2020 by worldboss1227 (100 points)
I added ARKit.framework but still same issue.
Please help me.
commented Sep 16, 2020 by zhangpengar (3,060 points)
Since Unity will overwrite XCode project every time you call build in Unity, it is necessary to add ARKit.framework and change 'enable bitcode' to false every time after that for now.
We plan to improve this situation.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.