privacy-manifest: Not detecting expected APIs

Hey - thank you for your work on this tool.

I’ve been receiving emails from Apple after submitting my app recently, regarding “Missing API declaration”, so I’m hopeful this tool will help me to resolve it.

I’ve installed it and run it, but it’s not giving me the output I would expect. Apple’s email lists 4 missing API declarations, but when I run this script I’m told there were no reasons provided. I suspect it’s not scanning my Pods files perhaps?

me@mbp ios % privacy-manifest analyze --project ./myapp.xcodeproj --reveal-occurrences --output ./

Xcode project detected: /Users/gav/Repos/myapp/ios/myapp.xcodeproj
---
✔ Parsed myapp's source files
✔ Parsed myapp-tvOS's source files
✔ Parsed myapp's Frameworks Build Phase
---
Execution took 0.030808667 seconds
---
User defaults APIs (0 occurrences)
Contacts (0 occurrences)
Third-party SDKs (0 occurrences)
Core Location (0 occurrences)
HealthKit (0 occurrences)
Active keyboard APIs (0 occurrences)
Disk space APIs (0 occurrences)
System boot time APIs (0 occurrences)
File Timestamp APIs (0 occurrences)
Crash data (1 occurrence)

	✎ /Users/gav/Repos/myapp/ios/AppDelegate.swift:
		9:	import Firebase

---

No reasons were provided, Privacy Manifest file generation was skipped.

Do you have any advice? Thank you.

About this issue

  • Original URL
  • State: closed
  • Created 2 months ago
  • Reactions: 1
  • Comments: 21 (10 by maintainers)

Most upvoted comments

It seems to be working for me now, running:

% privacy-manifest analyze --project . --reveal-occurrences --output . --deep-library-framework-check

I’m just at a point where I need to make a selection. I don’t understand this yet but there’s some reading to do. We do appear to be through the endless loop issue though, thank you!

@stelabouras No, that path does not exist! I got that issue when running privacy-manifest analyze --project ./ios/my_workspace.xcworkspace Output:

Xcode workspace detected: /Users/me/src/github.com/privacy-manifest/ios/my_workspace.xcworkspace
✖ Parser Error: The project cannot be found at /Users/me/src/github.com/org/mobile/ios/Pods/Pods.xcodeproj

However, running the command @gavrichards did is working for me now and showing what I expect, thanks 🙏