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

    1. Re-sign with a distribution provisioning profile so the entitlement becomes production.
    2. 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 app

    References

    Related checks (M8)