-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix privacy manifest collision #1666
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 2491 Passed, 0 Skipped, 5m 22.94s Wall Time 🔻 Code Coverage Decreases vs Default Branch (8)
|
bc3c136
to
b17e96a
Compare
b17e96a
to
8ab394d
Compare
// DDURLSessionDelegate APIs must be visible: | ||
_ = DDURLSessionDelegate() | ||
_ = DatadogURLSessionDelegate() | ||
class CustomDelegate: NSObject, __URLSessionDelegateProviding { | ||
var ddURLSessionDelegate: DatadogURLSessionDelegate { DatadogURLSessionDelegate() } | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
q/ Why this removal? Due to deprecation warnings treated as build error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, and because it's deprecated anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌 Great we cover this in smoke tests now 👍
What and why?
When using static linkage in CocoaPods with
use_frameworks! :linkage => :static
. The pod's resource gets copied at root of the app bundle, resulting in collision with the app'sPrivacyInfo.xcprivacy
.Resolve #1665
How?
Use
resource_bundle
to keep thePrivacyInfo.xcprivacy
in it own bundle.The smoke tests apps now all define privacy-manifest to catch any collision.
Review checklist
Custom CI job configuration (optional)
tools/