low · M8 · MASVS-CODE-2 · PTKD-IOS-APS-DEV
Development APNs (push) environment
aps-environment is 'development', indicating a non-release build configuration shipped to users.
How it is exploited
aps-environment=development points pushes at Apple's sandbox gateway. Production devices simply stop receiving pushes, and the mismatch signals a mis-signed build.
Why it matters
Broken push notifications for real users and a hint the whole signing pipeline used the wrong profile.
How to fix it
- Re-sign with a distribution provisioning profile so the entitlement becomes production.
- Verify with: codesign -d --entitlements - YourApp.app.
Does your app have this?
PTKD checks your build or your source project for PTKD-IOS-APS-DEV 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