Skip to content

Commit efaccff

Browse files
committed
CBL-5265 : Include PrivacyInfo.xcprivacy in iOS Framework
Included PrivacyInfo.xcprivacy in iOS Framework as required by Apple.
1 parent 4e065e0 commit efaccff

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

CBL_C.xcodeproj/project.pbxproj

+12
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
4022546F29355577000FBAC8 /* assets in Resources */ = {isa = PBXBuildFile; fileRef = 4022546D29355576000FBAC8 /* assets */; };
8888
4022547029355577000FBAC8 /* assets in Resources */ = {isa = PBXBuildFile; fileRef = 4022546D29355576000FBAC8 /* assets */; };
8989
40D1862529B6D1A50061AA85 /* Collection.hh in Headers */ = {isa = PBXBuildFile; fileRef = FCC064BD287CBD95000C5BD7 /* Collection.hh */; };
90+
40F902D82B9F7B12002EA0A0 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 40F902C82B9F7AF6002EA0A0 /* PrivacyInfo.xcprivacy */; };
9091
42D1B69D2978AD31003B9871 /* CBLUserAgent.mm in Sources */ = {isa = PBXBuildFile; fileRef = 42D1B68F2978AD31003B9871 /* CBLUserAgent.mm */; };
9192
42D1B69E2978AD31003B9871 /* CBLUserAgent.mm in Sources */ = {isa = PBXBuildFile; fileRef = 42D1B68F2978AD31003B9871 /* CBLUserAgent.mm */; };
9293
42D1B69F2978AD31003B9871 /* CBLUserAgent.mm in Sources */ = {isa = PBXBuildFile; fileRef = 42D1B68F2978AD31003B9871 /* CBLUserAgent.mm */; };
@@ -463,6 +464,7 @@
463464
27DBD096246C99AF002FD7A7 /* mergeIntoStaticLib.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = mergeIntoStaticLib.sh; sourceTree = "<group>"; };
464465
27DBD097246C9DE7002FD7A7 /* CBLDatabase+Apple.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = "CBLDatabase+Apple.mm"; sourceTree = "<group>"; };
465466
4022546D29355576000FBAC8 /* assets */ = {isa = PBXFileReference; lastKnownFileType = folder; path = assets; sourceTree = "<group>"; };
467+
40F902C82B9F7AF6002EA0A0 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
466468
42D1B68F2978AD31003B9871 /* CBLUserAgent.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CBLUserAgent.mm; sourceTree = "<group>"; };
467469
932062DA26BC6B43006917A5 /* CBLQuery.cc */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = CBLQuery.cc; sourceTree = "<group>"; };
468470
9320630126BDB340006917A5 /* CBLPlatform.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CBLPlatform.h; sourceTree = "<group>"; };
@@ -791,6 +793,7 @@
791793
children = (
792794
27984DF422499ED4000FE777 /* CouchbaseLite.modulemap */,
793795
27984E0D2249A127000FE777 /* Framework-Info.plist */,
796+
40F902C82B9F7AF6002EA0A0 /* PrivacyInfo.xcprivacy */,
794797
27B61D8421D6BA060027CCDB /* xcconfigs */,
795798
27DBD096246C99AF002FD7A7 /* mergeIntoStaticLib.sh */,
796799
93D0AFF1262619B800777AFC /* generate_edition_header.sh */,
@@ -1015,6 +1018,7 @@
10151018
27984E072249A126000FE777 /* Frameworks */,
10161019
27984E382249A36A000FE777 /* Copy Fleece Headers */,
10171020
93D0AFB626255E7300777AFC /* Copy CBL_Editionh */,
1021+
40F902D72B9F7B09002EA0A0 /* Resources */,
10181022
42F2DAB72655DC4B001C9EC3 /* Fix Header References */,
10191023
);
10201024
buildRules = (
@@ -1274,6 +1278,14 @@
12741278
);
12751279
runOnlyForDeploymentPostprocessing = 0;
12761280
};
1281+
40F902D72B9F7B09002EA0A0 /* Resources */ = {
1282+
isa = PBXResourcesBuildPhase;
1283+
buildActionMask = 2147483647;
1284+
files = (
1285+
40F902D82B9F7B12002EA0A0 /* PrivacyInfo.xcprivacy in Resources */,
1286+
);
1287+
runOnlyForDeploymentPostprocessing = 0;
1288+
};
12771289
FCE497132907917300EF2354 /* Resources */ = {
12781290
isa = PBXResourcesBuildPhase;
12791291
buildActionMask = 2147483647;

Xcode/PrivacyInfo.xcprivacy

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyAccessedAPITypes</key>
6+
<array>
7+
<dict>
8+
<key>NSPrivacyAccessedAPIType</key>
9+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
10+
<key>NSPrivacyAccessedAPITypeReasons</key>
11+
<array>
12+
<string>C617.1</string>
13+
</array>
14+
</dict>
15+
</array>
16+
</dict>
17+
</plist>

0 commit comments

Comments
 (0)