Skip to content

Commit

Permalink
Add a privacy manifest (#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
younata authored Jan 10, 2024
1 parent 419dd7d commit 29c8d41
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Nimble.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@
8923E60C2B47CE7E00F3961A /* Map.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Map.swift; sourceTree = "<group>"; };
8923E60E2B47D06E00F3961A /* MapTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MapTest.swift; sourceTree = "<group>"; };
892FDF1229D3EA7700523A80 /* AsyncExpression.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AsyncExpression.swift; sourceTree = "<group>"; };
8952ADDC2B4F159400D9305F /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
896962402A5FABD000A7929D /* AsyncAllPass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AsyncAllPass.swift; sourceTree = "<group>"; };
896962452A5FAD4500A7929D /* AsyncAllPassTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AsyncAllPassTest.swift; sourceTree = "<group>"; };
898F28AF25D9F4C30052B8D0 /* AlwaysFailMatcher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AlwaysFailMatcher.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -460,6 +461,7 @@
1F1A742D1940169200FFFC47 /* Info.plist */,
1FD8CD0C1968AB07008ED995 /* Matchers */,
1F1A742E1940169200FFFC47 /* Nimble.h */,
8952ADDC2B4F159400D9305F /* PrivacyInfo.xcprivacy */,
1FD8CD241968AB07008ED995 /* Utils */,
);
name = Nimble;
Expand Down
5 changes: 4 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ let package = Package(
.product(name: "CwlPosixPreconditionTesting", package: "CwlPreconditionTesting",
condition: .when(platforms: [.tvOS, .watchOS]))
],
exclude: ["Info.plist"]
exclude: ["Info.plist"],
resources: [
.copy("PrivacyInfo.xcprivacy")
]
),
.target(
name: "NimbleSharedTestHelpers",
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ expect(ocean.isClean).toEventually(beTruthy())
- [Result](#result)
- [Matching a value to any of a group of matchers](#matching-a-value-to-any-of-a-group-of-matchers)
- [Custom Validation](#custom-validation)
- [Mapping a Value to Another Value](#mapping-a-value-to-another-value)
- [Writing Your Own Matchers](#writing-your-own-matchers)
- [MatcherResult](#matcherresult)
- [Lazy Evaluation](#lazy-evaluation)
Expand All @@ -86,6 +87,7 @@ expect(ocean.isClean).toEventually(beTruthy())
- [Xcode](#xcode)
- [Package.Swift](#packageswift)
- [Using Nimble without XCTest](#using-nimble-without-xctest)
- [Privacy Statement](#privacy-statement)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

Expand Down Expand Up @@ -2117,3 +2119,11 @@ rm "${SWIFT_STDLIB_TOOL_DESTINATION_DIR}/libswiftXCTest.dylib"

You can now use Nimble assertions in your code and handle failures as you see
fit.

## Privacy Statement

Nimble is a library that is only used for testing and should never be included
in the binary submitted to App Store Connect.

Despite not being shipped to Apple, Nimble does not and will never collect any
kind of analytics or tracking.
15 changes: 15 additions & 0 deletions Sources/Nimble/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?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">
<!--
Nimble is a library that is only used for testing and should never be included
in the binary submitted to App Store Connect.
Despite not being shipped to Apple, Nimble does not and will never collect any
kind of analytics or tracking.
-->
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>

0 comments on commit 29c8d41

Please sign in to comment.