# Symbol not found in in flat namespace \_OBJC\_CLASS\_$\_ARPlaneAnchor

**URL:** <https://community.nianticspatial.com/t/symbol-not-found-in-in-flat-namespace-objc-class-arplaneanchor/3404>\
**Category:** Bug Reports\
**Created:** [March 29, 2023, 11:04am UTC](https://community.nianticspatial.com/t/symbol-not-found-in-in-flat-namespace-objc-class-arplaneanchor/3404 "2023-03-29T11:04:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://community.nianticspatial.com/u/Samuel)\
**Post date:** [March 29, 2023, 11:04am UTC](https://community.nianticspatial.com/t/symbol-not-found-in-in-flat-namespace-objc-class-arplaneanchor/3404/1 "2023-03-29T11:04:40Z")

</div>

_Include the following details while filing a bug report (edit as applicable):_

- **Issue category** : Semantic Segmentation
- **Device type & OS version** : Android / iOS
- **Host machine & OS version** : Mac
- **Issue Environment** : XCode
- **Xcode version** : 14.2
- **ARDK version** : 2.4.2
- **Unity version** : 2021.3.5fi

Bug reproduction steps:

Hi,

I am working on a big project using Lightship ARDK and I recently upgraded to ARDK 2.4.2 from ARDK 2.1. When deploying the project into, my XCode project I am unable to build it due to this Error:

[general] Error loading /var/containers/Bundle/Application/F8E51965-0615-44C4-958B-77B6BDE9AC18/xxx.app/Frameworks/UnityFramework.framework/UnityFramework (140): dlopen(/var/containers/Bundle/Application/F8E51965-0615-44C4-958B-77B6BDE9AC18/xxx.app/Frameworks/UnityFramework.framework/UnityFramework, 0x0109): symbol not found in flat namespace ‘_OBJC\_CLASS_$\_ARPlaneAnchor’

I am aware that the Framework dependencies changed by the migration from 2.1 to 2.4.2, from ardk\_client\_platform.framework and infinitam.framework to only ARDK.framework. Is there any reason for that?

Does anyone know what might be the reason for such a framework problem? I looked into all ARAnchor-related Scripts, but didnt find any differences…

I am using the ARDK project in combination with other libraries in XCode, so far there has never been a problem, so I am very sure the version upgrade is the culprit. Of course it will be hard to reproduce the bug without the other libraries I am using, but any help is appreciated!

Thanks,  
Samuel

---

<div class="post-metadata">

**Author:** ![Maverick\_Niantic](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@Maverick\_Niantic](https://community.nianticspatial.com/u/Maverick_Niantic)\
**Post date:** [March 29, 2023, 5:46pm UTC](https://community.nianticspatial.com/t/symbol-not-found-in-in-flat-namespace-objc-class-arplaneanchor/3404/2 "2023-03-29T17:46:37Z")

</div>

Hi Samuel,

Have you read through our Upgrading ARDK guide in our manual and all the release notes starting with version 2.2.0? The upgrade from 2.1 to 2.4.2 has a lot of breaking changes that you must account for. If you’re still experiencing problems after following our guide and thoroughly reviewing each version’s release notes, please let us know! I’ll be happy to assist you further!

Best,  
-Maverick L.

---

<div class="post-metadata">

**Author:** ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://community.nianticspatial.com/u/Samuel)\
**Post date:** [March 30, 2023, 10:21am UTC](https://community.nianticspatial.com/t/symbol-not-found-in-in-flat-namespace-objc-class-arplaneanchor/3404/3 "2023-03-30T10:21:18Z")

</div>

Hi!

Yeah I have read through all release notes, and all changes should be accounted for. I am only using the Semantic Segmentation and Depth calculation features from ARDK, so all problems with WayspotAnchors etc. shouldnt influence my app.

If you can point me in the right direction, where to look for such framework/building errors, I would really appreciate it!

Bests,  
Samuel

---

<div class="post-metadata">

**Author:** ![Maverick\_Niantic](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@Maverick\_Niantic](https://community.nianticspatial.com/u/Maverick_Niantic)\
**Post date:** [March 31, 2023, 8:38pm UTC](https://community.nianticspatial.com/t/symbol-not-found-in-in-flat-namespace-objc-class-arplaneanchor/3404/4 "2023-03-31T20:38:15Z")

</div>

I would recommend clearing your caches to make sure that the old ARDK isn’t hanging around anywhere, delete the existing ARDK package, install the newest ARDK package, and then clean and build. Yet, if you’re still having issues I would ask if you could send over a minimal reproduction project with all the dependencies you are using. Don’t hesitate to DM me if you’re uncomfortable sharing that publicly.

I hope that helps!

---

<div class="post-metadata">

**Author:** ![Samuel](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@Samuel](https://community.nianticspatial.com/u/Samuel)\
**Post date:** [April 3, 2023, 6:48am UTC](https://community.nianticspatial.com/t/symbol-not-found-in-in-flat-namespace-objc-class-arplaneanchor/3404/5 "2023-04-03T06:48:57Z")

</div>

Thanks! I will notify you when the problem is not resolved. Until then, I will close this Post

Bests,  
Samuel

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/system/32/13_2.png) [@system](https://community.nianticspatial.com/u/system)\
**Post date:** [April 3, 2023, 8:49am UTC](https://community.nianticspatial.com/t/symbol-not-found-in-in-flat-namespace-objc-class-arplaneanchor/3404/6 "2023-04-03T08:49:29Z")

</div>

This topic was automatically closed 2 hours after the last reply. New replies are no longer allowed.
