Early access is open. Every feature is free during early access. What that means
Rule catalog / Apple · §2.5.1

A selector built from a name that starts with an underscore: how to pass Apple 2.5.1

What Apple checks

Guideline 2.5.1 says apps may only use public APIs. Your code builds a selector at run time from a name that starts with an underscore. If that method belongs to an Apple framework and isn’t documented, it’s a private API; if it’s your own, this is fine.

How Shipnod finds it

We look for the code patterns behind this rule in your source and show the file and line, so you can check the screen.

This check needs your source code (L4).

How to fix it

Check which class the selector calls. If it’s an Apple framework method that isn’t in Apple’s documentation, replace the call with a public API that does the same job. If it’s your own method, you can ignore this warning or rename the method without the underscore.

Related rules

Check your app for this and 75 other rules

Every feature is free during early access: the button creates your free account. Results are guidance; Apple and Google make the final review decision.

Store
Apple App Store
Policy
Guideline 2.5.1
Evidence needed
L4 source code
Severity
Warning
Catalog version
v2026.12.1

Monthly roundup

Get the store-policy roundup.

Apple and Google Play changes that may affect your app, once a month. We’ll email you a link to confirm your address first.

Apple and Google Play changes that may affect your app. We’ll email you a link to confirm your address, then one roundup a month. Unsubscribe anytime. Privacy policy

Cookie preferences

Your choice is kept in this browser. Change it here any time.

Cookie notice