diff --git a/GTM.xcodeproj/project.pbxproj b/GTM.xcodeproj/project.pbxproj index 7769383..12650c1 100644 --- a/GTM.xcodeproj/project.pbxproj +++ b/GTM.xcodeproj/project.pbxproj @@ -116,6 +116,7 @@ F47A79880D746EE9002302AB /* GTMScriptRunner.h in Headers */ = {isa = PBXBuildFile; fileRef = F47A79850D746EE9002302AB /* GTMScriptRunner.h */; settings = {ATTRIBUTES = (Public, ); }; }; F47A79890D746EE9002302AB /* GTMScriptRunner.m in Sources */ = {isa = PBXBuildFile; fileRef = F47A79860D746EE9002302AB /* GTMScriptRunner.m */; }; F493E3591146CD97005F994E /* GTMUILocalizerAndLayoutTweakerTest7.xib in Resources */ = {isa = PBXBuildFile; fileRef = F493E3581146CD97005F994E /* GTMUILocalizerAndLayoutTweakerTest7.xib */; }; + F4A1EEAB2B62D46C008B2FC1 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = F4A1EEA82B62D462008B2FC1 /* PrivacyInfo.xcprivacy */; }; F4C0B9C3108E27EE002FC8E4 /* GTMUILocalizerAndLayoutTweakerTest5.xib in Resources */ = {isa = PBXBuildFile; fileRef = F4C0B9C2108E27EE002FC8E4 /* GTMUILocalizerAndLayoutTweakerTest5.xib */; }; F4C62489109753960069CADD /* GTMIBArrayTest.m in Sources */ = {isa = PBXBuildFile; fileRef = F4C62486109753960069CADD /* GTMIBArrayTest.m */; }; F4C6248A109753960069CADD /* GTMIBArrayTest.xib in Resources */ = {isa = PBXBuildFile; fileRef = F4C62487109753960069CADD /* GTMIBArrayTest.xib */; }; @@ -283,6 +284,8 @@ F48FE2900D198D24009257D2 /* GTMNSString+HTMLTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "GTMNSString+HTMLTest.m"; sourceTree = ""; }; F48FE29F0D198D36009257D2 /* GTMSenTestCase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GTMSenTestCase.h; sourceTree = ""; }; F493E3581146CD97005F994E /* GTMUILocalizerAndLayoutTweakerTest7.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = GTMUILocalizerAndLayoutTweakerTest7.xib; sourceTree = ""; }; + F4A1EEA82B62D462008B2FC1 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; + F4A1EEAA2B62D462008B2FC1 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; F4BA9E6E2B1548D700CAC68B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; F4BA9E6F2B1548D700CAC68B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; F4BA9E712B1548E200CAC68B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = UnitTesting/GTMUIUnitTestingHarness/Base.lproj/MainMenu.xib; sourceTree = ""; }; @@ -393,6 +396,7 @@ F48FE26F0D198CBA009257D2 /* AppKit */, F48FE2720D198CCE009257D2 /* Foundation */, F4FF22760D9D47FB003880AC /* DebugUtils */, + F4A1EEA62B62D462008B2FC1 /* Resources */, F48FE2770D198CEA009257D2 /* UnitTesting */, F48FE23E0D197F70009257D2 /* XcodeConfig */, 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */, @@ -603,6 +607,31 @@ path = UnitTesting; sourceTree = ""; }; + F4A1EEA62B62D462008B2FC1 /* Resources */ = { + isa = PBXGroup; + children = ( + F4A1EEA72B62D462008B2FC1 /* Logger */, + F4A1EEA92B62D462008B2FC1 /* Base */, + ); + path = Resources; + sourceTree = ""; + }; + F4A1EEA72B62D462008B2FC1 /* Logger */ = { + isa = PBXGroup; + children = ( + F4A1EEA82B62D462008B2FC1 /* PrivacyInfo.xcprivacy */, + ); + path = Logger; + sourceTree = ""; + }; + F4A1EEA92B62D462008B2FC1 /* Base */ = { + isa = PBXGroup; + children = ( + F4A1EEAA2B62D462008B2FC1 /* PrivacyInfo.xcprivacy */, + ); + path = Base; + sourceTree = ""; + }; F4CA852B0DAFA92A00B4AB10 /* Project */ = { isa = PBXGroup; children = ( @@ -852,6 +881,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + F4A1EEAB2B62D46C008B2FC1 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/GTMiPhone.xcodeproj/project.pbxproj b/GTMiPhone.xcodeproj/project.pbxproj index 6026f0f..1f7da6d 100644 --- a/GTMiPhone.xcodeproj/project.pbxproj +++ b/GTMiPhone.xcodeproj/project.pbxproj @@ -61,6 +61,7 @@ 8BF753DB1D9DB3080010A295 /* GTMSQLite.m in Sources */ = {isa = PBXBuildFile; fileRef = 8BF753DA1D9DB3080010A295 /* GTMSQLite.m */; }; 8BF753DD1D9DB30E0010A295 /* GTMSQLiteTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 8BF753DC1D9DB30E0010A295 /* GTMSQLiteTest.m */; }; 8BF753DF1D9DB3740010A295 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 8BF753DE1D9DB3740010A295 /* libsqlite3.tbd */; }; + F4A1EEA52B62D38F008B2FC1 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = F4A1EEA12B62D338008B2FC1 /* PrivacyInfo.xcprivacy */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -168,6 +169,8 @@ F4746720129703600022C1FB /* GTMSenTestCaseTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GTMSenTestCaseTest.m; sourceTree = ""; }; F4A0A95E140438B90010B64B /* DebugiOS.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = DebugiOS.xcconfig; sourceTree = ""; }; F4A0A95F140438B90010B64B /* ReleaseiOS.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ReleaseiOS.xcconfig; sourceTree = ""; }; + F4A1EEA12B62D338008B2FC1 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; + F4A1EEA32B62D338008B2FC1 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; F4E3B3D60EB5EF2400CB713D /* GTMUIFont+LineHeight.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "GTMUIFont+LineHeight.h"; sourceTree = ""; }; F4E3B3D70EB5EF2400CB713D /* GTMUIFont+LineHeight.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "GTMUIFont+LineHeight.m"; sourceTree = ""; }; F4E3B3E10EB5EF9A00CB713D /* GTMUIFont+LineHeightTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "GTMUIFont+LineHeightTest.m"; sourceTree = ""; }; @@ -216,6 +219,7 @@ 8BC0479A0DAE928A00C2D1CA /* DebugUtils */, 8BC047760DAE928A00C2D1CA /* Foundation */, 8BA5F4060E75669000798036 /* iPhone */, + F4A1EE9F2B62D338008B2FC1 /* Resources */, 8BC0479F0DAE928A00C2D1CA /* UnitTesting */, 8BC049840DAEC59100C2D1CA /* XcodeConfig */, 29B97323FDCFA39411CA2CEA /* Frameworks */, @@ -401,6 +405,31 @@ path = TestData; sourceTree = ""; }; + F4A1EE9F2B62D338008B2FC1 /* Resources */ = { + isa = PBXGroup; + children = ( + F4A1EEA02B62D338008B2FC1 /* Logger */, + F4A1EEA22B62D338008B2FC1 /* Base */, + ); + path = Resources; + sourceTree = ""; + }; + F4A1EEA02B62D338008B2FC1 /* Logger */ = { + isa = PBXGroup; + children = ( + F4A1EEA12B62D338008B2FC1 /* PrivacyInfo.xcprivacy */, + ); + path = Logger; + sourceTree = ""; + }; + F4A1EEA22B62D338008B2FC1 /* Base */ = { + isa = PBXGroup; + children = ( + F4A1EEA32B62D338008B2FC1 /* PrivacyInfo.xcprivacy */, + ); + path = Base; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -411,6 +440,7 @@ 8B82CEF21D9C17DE007182AA /* Sources */, 8B82CEF31D9C17DE007182AA /* Frameworks */, 8B82CEF41D9C17DE007182AA /* CopyFiles */, + F4A1EEA42B62D37E008B2FC1 /* Resources */, ); buildRules = ( ); @@ -490,6 +520,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + F4A1EEA42B62D37E008B2FC1 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + F4A1EEA52B62D38F008B2FC1 /* PrivacyInfo.xcprivacy in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ diff --git a/GoogleToolboxForMac.podspec b/GoogleToolboxForMac.podspec index 8e4e6bf..9b29f27 100644 --- a/GoogleToolboxForMac.podspec +++ b/GoogleToolboxForMac.podspec @@ -35,6 +35,9 @@ Pod::Spec.new do |s| s.subspec 'Defines' do |sp| sp.public_header_files = 'GTMDefines.h' sp.source_files = 'GTMDefines.h' + sp.resource_bundle = { + "GoogleToolboxForMac_Privacy" => "Resources/Base/PrivacyInfo.xcprivacy" + } end s.subspec 'Core' do |sp| @@ -69,9 +72,12 @@ Pod::Spec.new do |s| s.subspec 'Logger' do |sp| sp.source_files = 'Foundation/GTMLogger.{h,m}' sp.dependency 'GoogleToolboxForMac/Defines', "#{s.version}" + sp.resource_bundle = { + "GoogleToolboxForMac_Logger_Privacy" => "Resources/Logger/PrivacyInfo.xcprivacy" + } end - # We cannot add a target for Foundaat/GTMLogger+ASL.{h,m}. + # We cannot add a target for Foundation/GTMLogger+ASL.{h,m}. # asl.h is not a modular header, and so cannot be imported # in a modulemap, which CocoaPods does by default when it # creates frameworks. diff --git a/Resources/Base/PrivacyInfo.xcprivacy b/Resources/Base/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..5397adc --- /dev/null +++ b/Resources/Base/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + + diff --git a/Resources/Logger/PrivacyInfo.xcprivacy b/Resources/Logger/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..0a95d09 --- /dev/null +++ b/Resources/Logger/PrivacyInfo.xcprivacy @@ -0,0 +1,23 @@ + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + +