When i use the insomnia plugin in my app. the app is rejected due to the following reason. See the message below that i recieved from Apple.
Dear Developer,
We identified one or more issues with a recent delivery for your app, "Music Assistant" 3.1.6 (3.1.6). Please correct the following issues, then upload again.
ITMS-90338: Non-public API usage - The app references non-public selectors in Music Assistant: _setAlwaysRunsAtForegroundPriority:. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. If you think this message was sent in error and that you have only used Apple-published APIs in accordance with the guidelines, send the app's Apple ID, along with detailed information about why you believe the above APIs were incorrectly flagged, to appreview@apple.com. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/
When i use the insomnia plugin in my app. the app is rejected due to the following reason. See the message below that i recieved from Apple.
Dear Developer,
We identified one or more issues with a recent delivery for your app, "Music Assistant" 3.1.6 (3.1.6). Please correct the following issues, then upload again.
ITMS-90338: Non-public API usage - The app references non-public selectors in Music Assistant: _setAlwaysRunsAtForegroundPriority:. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. If you think this message was sent in error and that you have only used Apple-published APIs in accordance with the guidelines, send the app's Apple ID, along with detailed information about why you believe the above APIs were incorrectly flagged, to appreview@apple.com. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/
Best regards,
The App Store Team