high · M8 · MASVS-CODE-1 · PTKD-REVIEW-PRIVATE-API
Reference to a private Apple API
The binary references an Apple API that is not public. Uploads are flagged (ITMS-90338) and App Review rejects non-public API use (Guideline 2.5.1).
How it is exploited
The binary references an Apple API that isn't public. Apple's upload scan flags it (ITMS-90338) and Guideline 2.5.1 forbids non-public APIs.
Why it matters
A refused upload or rejection, and code that can break with any iOS update.
How to fix it
- Find which library brings in the symbol (nm or strings on each framework).
- Update or remove that library.
Does your app have this?
PTKD checks your build or your source project for PTKD-REVIEW-PRIVATE-API and every other check in this knowledge base.
Scan your appReferences
Related checks (M8)
- JavaScript obfuscation in the build
- Export compliance (ITSAppUsesNonExemptEncryption) not declared
- HealthKit app that also ships an ads SDK
- Hardcoded unlock or promo code
- Purchases SDK configured with an empty or test key
- Purchase screen falls back to made-up prices or 'coming soon' text
- False-urgency copy on a purchase screen
- Hardcoded price on a purchase screen