iOS privacy
iOS privacy manifests (PrivacyInfo.xcprivacy) review
Apple's privacy manifest turns app and SDK privacy disclosures into a structured property list inside the IPA. Static review audits every declaration; authorized traffic capture confirms whether runtime behavior agrees.
What PrivacyInfo.xcprivacy is and why security teams review it
PrivacyInfo.xcprivacy is a structured property list shipped inside an iOS app bundle and inside embedded third-party .framework or .xcframework bundles. Apple introduced it so apps and SDKs declare their tracking status, tracking domains, collected data types and usage of APIs that can be abused for device fingerprinting.
For security and privacy reviewers working under MASVS-PRIVACY, privacy manifests turn third-party SDK behavior into an auditable build artifact. Instead of relying solely on vendor documentation, validators can inspect the packaged IPA directly to spot missing disclosures, undeclared fingerprinting APIs and discrepancies with App Store Privacy labels before submission.
Key sections to inspect statically
Every PrivacyInfo.xcprivacy file uses four top-level keys. Review each one across both the main app bundle and every embedded framework:
NSPrivacyTracking: a boolean stating whether the app or SDK uses collected data for cross-app or cross-site tracking under Apple's definition.NSPrivacyTrackingDomains: a list of internet domains used for tracking. iOS can block connections to declared tracking domains when the user has not granted App Tracking Transparency permission.NSPrivacyCollectedDataTypes: structured entries naming each collected data category, whether it is linked to user identity, whether it is used for tracking and its declared purposes.NSPrivacyAccessedAPITypes: approved reason codes for Required Reason APIs that can otherwise fingerprint a device—covering file timestamps, system boot time, disk space, active keyboards andUserDefaultsaccess.
| Manifest key | What reviewers check |
|---|---|
NSPrivacyTracking | Matches actual ad, attribution or broker SDK behavior and ATT consent prompts. |
NSPrivacyTrackingDomains | Covers every tracking host observed in code or traffic without missing subdomains. |
NSPrivacyCollectedDataTypes | Aligns with App Store Privacy labels, privacy policy and observed payloads. |
NSPrivacyAccessedAPITypes | Declares valid reason codes for file timestamps, boot time, disk space, keyboards and UserDefaults. |
Auditing third-party SDKs inside Payload/*.app/Frameworks/
Most privacy surprises arrive through transitive dependencies rather than first-party code. Unpack the IPA and inventory every bundle under Payload/*.app/Frameworks/ alongside statically linked libraries in the main executable. Check whether analytics, crash-reporting and advertising SDKs ship their own PrivacyInfo.xcprivacy file and valid code signature where Apple requires signed SDK bundles.
Look specifically for mismatches between binary behavior and manifest declarations. Common defects include an embedded SDK calling Required Reason APIs—such as file modification timestamps, system uptime, available disk space or shared UserDefaults suites—without declaring a manifest or approved reason code, or an attribution SDK contacting tracking hosts while the app declares NSPrivacyTracking as false. Also inspect Info.plist for NSUserTrackingUsageDescription and verify that App Tracking Transparency (ATTrackingManager) actually gates tracking SDK initialization rather than prompting after data has already been sent.
Static manifest inventory vs runtime truth
Static IPA analysis excels at completeness: on an authorized, unencrypted development or ad-hoc IPA, a scanner can enumerate every embedded framework, parse every PrivacyInfo.xcprivacy plist, extract declared tracking domains and flag Required Reason API symbol references (note that FairPlay-encrypted App Store binaries cannot be decrypted for symbol-level inspection). That gives validators a clean, repeatable inventory of what the build claims to do.
What static inspection cannot prove is whether the running app honors those claims. An SDK can omit a host from NSPrivacyTrackingDomains, send device identifiers or PII to a first-party proxy domain before consent, or ignore an ATT denial. Confirming actual transmission requires authorized runtime traffic capture—for example, collecting proxy evidence during an authorized Record Mode or manual test-device proxy session from a fresh install before and after consent. Report missing manifests or invalid reason codes as configuration findings, and keep suspected undeclared data exfiltration labeled as a candidate until network capture confirms the outbound payload.
Practical release-gate checklist for CI and validators
- Scan an unencrypted IPA in CI: upload a development or ad-hoc IPA on pull requests and release candidates using CI/CD integration so missing
PrivacyInfo.xcprivacyfiles or unexpected framework additions appear in SARIF before App Store submission. - Diff manifests between releases: track changes to
Payload/*.app/Frameworks/,NSPrivacyTrackingDomainsandNSPrivacyAccessedAPITypeswhenever a dependency lockfile changes. - Cross-check ATT and disclosures: verify
NSUserTrackingUsageDescription, App Store Privacy answers and your public privacy policy agree with the aggregated app and SDK manifests. - Verify high-risk changes at runtime: after adding or upgrading an analytics, attribution or ad SDK, pair static review with authorized proxy traffic capture on a test device to confirm no undeclared tracker transmits PII before consent.
Teams comparing static CI release gates with periodic authorized validation engagements can review options on our pricing page.