Skip to content

Commit

Permalink
Add privacy manifest xcframework smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxep committed Feb 9, 2024
1 parent dafe12b commit 8ab394d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict/>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ internal class ViewController: UIViewController {
RUM.enable(with: .init(applicationID: "app-id"))
RUMMonitor.shared().startView(viewController: self)

// DDURLSessionDelegate APIs must be visible:
_ = DDURLSessionDelegate()
_ = DatadogURLSessionDelegate()
class CustomDelegate: NSObject, __URLSessionDelegateProviding {
var ddURLSessionDelegate: DatadogURLSessionDelegate { DatadogURLSessionDelegate() }
}

// Trace APIs must be visible:
Trace.enable()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
D2966C2A29CA1E1600FC6B3C /* DatadogTrace.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D2966C2829CA1E1600FC6B3C /* DatadogTrace.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
D2966C2B29CA1E1C00FC6B3C /* DatadogTrace.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2966C2829CA1E1600FC6B3C /* DatadogTrace.xcframework */; };
D2966C2C29CA1E1C00FC6B3C /* DatadogTrace.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D2966C2829CA1E1600FC6B3C /* DatadogTrace.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
D2C2E9C52B76593F0076B3AB /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = D2C2E9C42B76593F0076B3AB /* PrivacyInfo.xcprivacy */; };
D2C2E9C62B76593F0076B3AB /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = D2C2E9C42B76593F0076B3AB /* PrivacyInfo.xcprivacy */; };
D2EBEDA929B7862C00B15732 /* DatadogLogs.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2EBEDA829B7862C00B15732 /* DatadogLogs.xcframework */; };
D2EBEDAA29B7862C00B15732 /* DatadogLogs.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D2EBEDA829B7862C00B15732 /* DatadogLogs.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
D2EBEDAB29B7863B00B15732 /* DatadogLogs.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2EBEDA829B7862C00B15732 /* DatadogLogs.xcframework */; };
Expand Down Expand Up @@ -147,6 +149,7 @@
D290BA3927CD09A20019936D /* App tvOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "App tvOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
D290BA4527CD09C70019936D /* App tvOS UITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "App tvOS UITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
D2966C2829CA1E1600FC6B3C /* DatadogTrace.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = DatadogTrace.xcframework; path = "dd-sdk-ios/build/xcframeworks/DatadogTrace.xcframework"; sourceTree = "<group>"; };
D2C2E9C42B76593F0076B3AB /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
D2EBEDA829B7862C00B15732 /* DatadogLogs.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = DatadogLogs.xcframework; path = "dd-sdk-ios/build/xcframeworks/DatadogLogs.xcframework"; sourceTree = "<group>"; };
D2EBEDAD29B7867600B15732 /* DatadogInternal.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = DatadogInternal.xcframework; path = "dd-sdk-ios/build/xcframeworks/DatadogInternal.xcframework"; sourceTree = "<group>"; };
D2F09A2429F6C65A0036B910 /* DatadogRUM.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = DatadogRUM.xcframework; path = "dd-sdk-ios/build/xcframeworks/DatadogRUM.xcframework"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -262,6 +265,7 @@
61C3641A243752A500C4D4E6 /* SceneDelegate.swift */,
61C3641C243752A500C4D4E6 /* ViewController.swift */,
61C36426243752A600C4D4E6 /* Info.plist */,
D2C2E9C42B76593F0076B3AB /* PrivacyInfo.xcprivacy */,
);
path = App;
sourceTree = "<group>";
Expand Down Expand Up @@ -471,6 +475,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D2C2E9C52B76593F0076B3AB /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -492,6 +497,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D2C2E9C62B76593F0076B3AB /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down

0 comments on commit 8ab394d

Please sign in to comment.