# Apple Store Connect shows Warning: "app references non-public selectors"

**URL:** <https://forum.ionicframework.com/t/apple-store-connect-shows-warning-app-references-non-public-selectors/159491>\
**Category:** Ionic Framework\
**Created:** [March 19, 2019, 3:50pm UTC](https://forum.ionicframework.com/t/apple-store-connect-shows-warning-app-references-non-public-selectors/159491 "2019-03-19T15:50:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nharrer](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/nharrer/32/124412_2.png) [@nharrer](https://forum.ionicframework.com/u/nharrer)\
**Post date:** [March 19, 2019, 3:50pm UTC](https://forum.ionicframework.com/t/apple-store-connect-shows-warning-app-references-non-public-selectors/159491/1 "2019-03-19T15:50:53Z")

</div>

I have created a new iOS app with ionic 4. When I upload it to the Apple App Store I get following warning:

`The app references non-public selectors in Payload/FoobarApp.app/FoobarApp: _setAlwaysRunsAtForegroundPriority:`

The App works well and there are no other problems in the app store. Should I be worried however? You know how picky Apple is. Don’t want the app to be rejected.

 ![](https://i.imgur.com/ff5q9uF.png)

I am using following plugins:

```auto
    <plugin name="cordova-plugin-whitelist" spec="1.3.3" />
    <plugin name="cordova-plugin-statusbar" spec="2.4.2" />
    <plugin name="cordova-plugin-device" spec="2.0.2" />
    <plugin name="cordova-plugin-splashscreen" spec="5.0.2" />
    <plugin name="cordova-plugin-ionic-webview" spec="^3.0.0" />
    <plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
    <plugin name="cordova-plugin-inappbrowser" spec="3.0.0" />

```

I think everything besides inappbrowser is default.

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [March 19, 2019, 3:52pm UTC](https://forum.ionicframework.com/t/apple-store-connect-shows-warning-app-references-non-public-selectors/159491/2 "2019-03-19T15:52:16Z")

</div>

Probably fine: [https://stackoverflow.com/questions/54373661/how-to-resolve-app-validation-the-app-references-non-public-selectors-in-payloa](https://stackoverflow.com/questions/54373661/how-to-resolve-app-validation-the-app-references-non-public-selectors-in-payloa)

---

<div class="post-metadata">

**Author:** ![nharrer](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/nharrer/32/124412_2.png) [@nharrer](https://forum.ionicframework.com/u/nharrer)\
**Post date:** [March 19, 2019, 4:12pm UTC](https://forum.ionicframework.com/t/apple-store-connect-shows-warning-app-references-non-public-selectors/159491/3 "2019-03-19T16:12:32Z")

</div>

Thanks, I hope it’s true. Because if I google for “app rejected because accessing non-public selector” I get several reports of people’s apps being rejected because of such things.

But I don’t want to jump the gun. I let you guys know if I get troubles down the review process…

---

<div class="post-metadata">

**Author:** ![mohsaniqbal](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mohsaniqbal/32/120992_2.png) [@mohsaniqbal](https://forum.ionicframework.com/u/mohsaniqbal)\
**Post date:** [August 9, 2019, 3:50pm UTC](https://forum.ionicframework.com/t/apple-store-connect-shows-warning-app-references-non-public-selectors/159491/4 "2019-08-09T15:50:24Z")

</div>

I faced the same issue I resolved:  
cordova plugin rm cordova-plugin-ionic-webview  
cordova plugin add cordova-plugin-ionic-webview@4.1.0  
Delete platform/ios  
ionic cordova build ios
