# Reachability class name conflict

**URL:** <https://devforum.zoom.us/t/reachability-class-name-conflict/51949>\
**Category:** iOS\
**Created:** [June 7, 2021, 9:58pm UTC](https://devforum.zoom.us/t/reachability-class-name-conflict/51949 "2021-06-07T21:58:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![EricB](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@EricB](https://devforum.zoom.us/u/EricB)\
**Post date:** [June 7, 2021, 9:58pm UTC](https://devforum.zoom.us/t/reachability-class-name-conflict/51949/1 "2021-06-07T21:58:41Z")

</div>

**Description**  
I have an iOS app using the Zoom SDK that includes Apple’s Reachability class. It appears the MobileRTC framework also includes a class of the same name based on this run-time warning:

> Class Reachability is implemented in both …/MyApp.app/Frameworks/MobileRTC.framework/MobileRTC (0x10b02a6c8) and …/MyApp.app/Dev (0x10789f220). One of the two will be used. Which one is undefined.

Can the Zoom SDK’s version of Reachability be renamed or properly namespaced so as to not conflict with apps that also use the class? This is a commonly used class, so I imagine other apps will run into the same issue.

**Which iOS Client SDK version?**  
5.5.12511.0421

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [June 8, 2021, 7:51pm UTC](https://devforum.zoom.us/t/reachability-class-name-conflict/51949/2 "2021-06-08T19:51:59Z")

</div>

Hey @EricB,

Thanks for using the dev forum!

Do you know what file this is defined in? I am not seeing it in our framework.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![EricB](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@EricB](https://devforum.zoom.us/u/EricB)\
**Post date:** [June 8, 2021, 8:59pm UTC](https://devforum.zoom.us/t/reachability-class-name-conflict/51949/3 "2021-06-08T20:59:35Z")

</div>

Thanks for the reply, @Michael_Condon!

I’m not sure what file it is defined in the Zoom SDK, but here are the steps to reproduce:

1. Create a new iOS app project in Xcode. (I’m using Xcode 12.5.)
2. Add the MobileRTC.xcframework and MobileRTCResources.bundle to the project, then close Xcode.
3. In a terminal, initialize CocoaPods using `pod init` in the root of the project.
4. Add `pod 'Reachability'` to the Podfile.
5. Run `pod install`.
6. Open the xcworkspace, build and run.

Result:  
The warning message from above displays in the debug output window.

Hopefully that helps!

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [June 9, 2021, 6:42pm UTC](https://devforum.zoom.us/t/reachability-class-name-conflict/51949/4 "2021-06-09T18:42:55Z")

</div>

Hey @EricB,

Gotcha, will run some tests and keep you posted. Thanks!

Michael

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 10, 2021, 4:43am UTC](https://devforum.zoom.us/t/reachability-class-name-conflict/51949/5 "2021-07-10T04:43:38Z")

</div>

Closed on July 10, 2021, 4:43am UTC

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