# The iOS mediasoup library contains devices with the same name as the private API resulting in the appstore being rejected

**URL:** <https://mediasoup.discourse.group/t/the-ios-mediasoup-library-contains-devices-with-the-same-name-as-the-private-api-resulting-in-the-appstore-being-rejected/1298>\
**Category:** mediasoup libraries\
**Created:** [June 22, 2020, 8:34am UTC](https://mediasoup.discourse.group/t/the-ios-mediasoup-library-contains-devices-with-the-same-name-as-the-private-api-resulting-in-the-appstore-being-rejected/1298 "2020-06-22T08:34:10Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![CJXB](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@CJXB](https://mediasoup.discourse.group/u/CJXB)\
**Post date:** [June 22, 2020, 8:34am UTC](https://mediasoup.discourse.group/t/the-ios-mediasoup-library-contains-devices-with-the-same-name-as-the-private-api-resulting-in-the-appstore-being-rejected/1298/1 "2020-06-22T08:34:10Z")

</div>

The iOS mediasoup library contains devices with the same name as the private API resulting in the appstore being rejected

---

<div class="post-metadata">

**Author:** ![jmillan](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/jmillan/32/9_2.png) [@jmillan](https://mediasoup.discourse.group/u/jmillan)\
**Post date:** [June 22, 2020, 8:35am UTC](https://mediasoup.discourse.group/t/the-ios-mediasoup-library-contains-devices-with-the-same-name-as-the-private-api-resulting-in-the-appstore-being-rejected/1298/2 "2020-06-22T08:35:29Z")

</div>

Please use english in the forum.

---

<div class="post-metadata">

**Author:** ![jmillan](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/jmillan/32/9_2.png) [@jmillan](https://mediasoup.discourse.group/u/jmillan)\
**Post date:** [June 22, 2020, 8:58am UTC](https://mediasoup.discourse.group/t/the-ios-mediasoup-library-contains-devices-with-the-same-name-as-the-private-api-resulting-in-the-appstore-being-rejected/1298/4 "2020-06-22T08:58:43Z")

</div>

@CJXB,

Could you please elaborate so we can address the problem?

Thanks.

---

<div class="post-metadata">

**Author:** ![CJXB](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@CJXB](https://mediasoup.discourse.group/u/CJXB)\
**Post date:** [June 22, 2020, 9:03am UTC](https://mediasoup.discourse.group/t/the-ios-mediasoup-library-contains-devices-with-the-same-name-as-the-private-api-resulting-in-the-appstore-being-rejected/1298/5 "2020-06-22T09:03:36Z")

</div>

Hello, submitting the AppStore for review was rejected because the Device. h in the library has the same name as the private API in iOS

---

<div class="post-metadata">

**Author:** ![ibc](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ibc/32/1540_2.png) [@ibc](https://mediasoup.discourse.group/u/ibc)\
**Post date:** [June 22, 2020, 9:03am UTC](https://mediasoup.discourse.group/t/the-ios-mediasoup-library-contains-devices-with-the-same-name-as-the-private-api-resulting-in-the-appstore-being-rejected/1298/6 "2020-06-22T09:03:44Z")

</div>

Which “iOS mediasoup library” do you mean?

---

<div class="post-metadata">

**Author:** ![CJXB](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@CJXB](https://mediasoup.discourse.group/u/CJXB)\
**Post date:** [June 22, 2020, 9:05am UTC](https://mediasoup.discourse.group/t/the-ios-mediasoup-library-contains-devices-with-the-same-name-as-the-private-api-resulting-in-the-appstore-being-rejected/1298/7 "2020-06-22T09:05:44Z")

</div>

mediasoup-client-ios.framework

---

<div class="post-metadata">

**Author:** ![jmillan](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/jmillan/32/9_2.png) [@jmillan](https://mediasoup.discourse.group/u/jmillan)\
**Post date:** [June 22, 2020, 9:06am UTC](https://mediasoup.discourse.group/t/the-ios-mediasoup-library-contains-devices-with-the-same-name-as-the-private-api-resulting-in-the-appstore-being-rejected/1298/8 "2020-06-22T09:06:58Z")

</div>

Please open an issue in such project:

> **[ethand91/mediasoup-ios-client](https://github.com/ethand91/mediasoup-ios-client)**
>
> Mediasoup 3 iOS Client. Contribute to ethand91/mediasoup-ios-client development by creating an account on GitHub.

Even though it may come back to libmediasoupclient later, please open an issue in the original project first.

---

<div class="post-metadata">

**Author:** ![CJXB](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@CJXB](https://mediasoup.discourse.group/u/CJXB)\
**Post date:** [June 22, 2020, 9:10am UTC](https://mediasoup.discourse.group/t/the-ios-mediasoup-library-contains-devices-with-the-same-name-as-the-private-api-resulting-in-the-appstore-being-rejected/1298/9 "2020-06-22T09:10:56Z")

</div>

Ok, thank you

---

<div class="post-metadata">

**Author:** ![ethand91](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ethand91/32/14_2.png) [@ethand91](https://mediasoup.discourse.group/u/ethand91)\
**Post date:** [June 23, 2020, 1:08am UTC](https://mediasoup.discourse.group/t/the-ios-mediasoup-library-contains-devices-with-the-same-name-as-the-private-api-resulting-in-the-appstore-being-rejected/1298/10 "2020-06-23T01:08:45Z")

</div>

I’ll change the name from Device to MediasoupDevice.  
Although I don’t like the fact the naming is different to the other mediasoup libraries ☹  
In this case it can’t be helped…

---

<div class="post-metadata">

**Author:** ![ethand91](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/ethand91/32/14_2.png) [@ethand91](https://mediasoup.discourse.group/u/ethand91)\
**Post date:** [June 24, 2020, 1:12am UTC](https://mediasoup.discourse.group/t/the-ios-mediasoup-library-contains-devices-with-the-same-name-as-the-private-api-resulting-in-the-appstore-being-rejected/1298/11 "2020-06-24T01:12:27Z")

</div>

Fixed in 1.5.0
