# App Rejected - non-public APIs

**URL:** <https://forums.solar2d.com/t/app-rejected-non-public-apis/341307>\
**Category:** CoronaCards for iOS / Android\
**Created:** [September 26, 2016, 5:11pm UTC](https://forums.solar2d.com/t/app-rejected-non-public-apis/341307 "2016-09-26T17:11:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kennycorona](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/22d042/32.png) [@kennycorona](https://forums.solar2d.com/u/kennycorona)\
**Post date:** [September 26, 2016, 5:11pm UTC](https://forums.solar2d.com/t/app-rejected-non-public-apis/341307/1 "2016-09-26T17:11:59Z")

</div>

We are using CoronaCards in our iOS app and an update was just rejected for using a private api:

&nbsp;

> Your app uses or references the following non-public APIs:
> 
> &nbsp;
> 
> viewController

&nbsp;

After some digging, the only place I can locate any reference to the isolated term ‘viewController’ is by using the strings tool on CoronaCards.framework.&nbsp;

&nbsp;

Has anyone else had this problem? We have been using CoronaCards for a while now and this is the first time the issue has come up.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 26, 2016, 7:37pm UTC](https://forums.solar2d.com/t/app-rejected-non-public-apis/341307/2 "2016-09-26T19:37:15Z")

</div>

I’ll see what I can find out.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 26, 2016, 8:13pm UTC](https://forums.solar2d.com/t/app-rejected-non-public-apis/341307/3 "2016-09-26T20:13:12Z")

</div>

Can you post the entire rejection message?

---

<div class="post-metadata">

**Author:** ![kennycorona](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/22d042/32.png) [@kennycorona](https://forums.solar2d.com/u/kennycorona)\
**Post date:** [September 26, 2016, 8:21pm UTC](https://forums.solar2d.com/t/app-rejected-non-public-apis/341307/4 "2016-09-26T20:21:29Z")

</div>

> - 2.&nbsp;5 PERFORMANCE: SOFTWARE REQUIREMENTS
> 
> Performance - 2.5.1
> 
> Your app uses or references the following non-public APIs:
> 
> viewController
> 
> The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.
> 
> Next Steps
> 
> Please revise your app to remove any non-public APIs. If you have defined methods in your source code with the same names as the above-mentioned APIs, we suggest altering your method names so that they no longer collide with Apple’s private APIs to avoid your application being flagged in future submissions.
> 
> Additionally, if you are using third party libraries, please update to the most recent version of those libraries. If you do not have access to the libraries’ source, you may be able to search the compiled binary using the “strings” or “otool” command line tools. The “strings” tool can output a list of the methods that the library calls and “otool -ov” will output the Objective-C class structures and their defined methods. These tools can help you narrow down where the problematic code resides. You could also use the “nm” tool to verify if any third-party libraries are calling these APIs.

---

<div class="post-metadata">

**Author:** ![abhilash4](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/d26b3c/32.png) [@abhilash4](https://forums.solar2d.com/u/abhilash4)\
**Post date:** [February 17, 2017, 4:49am UTC](https://forums.solar2d.com/t/app-rejected-non-public-apis/341307/5 "2017-02-17T04:49:39Z")

</div>

Kenny - Were you able to publish the app to app store using corona cards?&nbsp;

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 26, 2016, 7:37pm UTC](https://forums.solar2d.com/t/app-rejected-non-public-apis/341307/6 "2016-09-26T19:37:15Z")

</div>

I’ll see what I can find out.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 26, 2016, 8:13pm UTC](https://forums.solar2d.com/t/app-rejected-non-public-apis/341307/7 "2016-09-26T20:13:12Z")

</div>

Can you post the entire rejection message?

---

<div class="post-metadata">

**Author:** ![kennycorona](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/22d042/32.png) [@kennycorona](https://forums.solar2d.com/u/kennycorona)\
**Post date:** [September 26, 2016, 8:21pm UTC](https://forums.solar2d.com/t/app-rejected-non-public-apis/341307/8 "2016-09-26T20:21:29Z")

</div>

> - 2.&nbsp;5 PERFORMANCE: SOFTWARE REQUIREMENTS
> 
> Performance - 2.5.1
> 
> Your app uses or references the following non-public APIs:
> 
> viewController
> 
> The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.
> 
> Next Steps
> 
> Please revise your app to remove any non-public APIs. If you have defined methods in your source code with the same names as the above-mentioned APIs, we suggest altering your method names so that they no longer collide with Apple’s private APIs to avoid your application being flagged in future submissions.
> 
> Additionally, if you are using third party libraries, please update to the most recent version of those libraries. If you do not have access to the libraries’ source, you may be able to search the compiled binary using the “strings” or “otool” command line tools. The “strings” tool can output a list of the methods that the library calls and “otool -ov” will output the Objective-C class structures and their defined methods. These tools can help you narrow down where the problematic code resides. You could also use the “nm” tool to verify if any third-party libraries are calling these APIs.

---

<div class="post-metadata">

**Author:** ![abhilash4](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/d26b3c/32.png) [@abhilash4](https://forums.solar2d.com/u/abhilash4)\
**Post date:** [February 17, 2017, 4:49am UTC](https://forums.solar2d.com/t/app-rejected-non-public-apis/341307/9 "2017-02-17T04:49:39Z")

</div>

Kenny - Were you able to publish the app to app store using corona cards?&nbsp;
