Skip to content
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

Add PrivacyInfo.xcprivacy file to project, and all dependency managers #569

Merged
merged 4 commits into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CropViewController.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Pod::Spec.new do |s|
s.source_files = 'Swift/CropViewController/**/*.{h,swift}', 'Objective-C/TOCropViewController/**/*.{h,m}'
s.exclude_files = 'Objective-C/TOCropViewController/include/**/*.h'
s.resource_bundles = {
'TOCropViewControllerBundle' => ['Objective-C/TOCropViewController/**/*.lproj']
'TOCropViewControllerBundle' => ['Objective-C/TOCropViewController/**/*.{lproj,xcprivacy}']
}
s.requires_arc = true
s.swift_version = '5.0'
Expand Down
18 changes: 18 additions & 0 deletions Objective-C/TOCropViewController/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?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>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict/>
</array>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict/>
</array>
</dict>
</plist>
12 changes: 1 addition & 11 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

var platforms: [SupportedPlatform] {
#if compiler(<5.3)
return [.iOS(.v8)]
#else
// Xcode 12 (which ships with Swift 5.3) drops support for iOS 8
return[.iOS(.v9)]
#endif
}

let package = Package(
name: "TOCropViewController",
defaultLocalization: "en",
platforms: platforms,
platforms: [.iOS(.v11)],
products: [
.library(
name: "TOCropViewController",
Expand Down
2 changes: 1 addition & 1 deletion TOCropViewController.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Pod::Spec.new do |s|
s.source_files = 'Objective-C/TOCropViewController/**/*.{h,m}'
s.exclude_files = 'Objective-C/TOCropViewController/include/**/*.h'
s.resource_bundles = {
'TOCropViewControllerBundle' => ['Objective-C/TOCropViewController/**/*.lproj']
'TOCropViewControllerBundle' => ['Objective-C/TOCropViewController/**/*.{lproj,xcprivacy}']
}
s.requires_arc = true
end
28 changes: 20 additions & 8 deletions TOCropViewControllerExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
2238CF361FC029880081B957 /* CropViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2238CF351FC029880081B957 /* CropViewController.swift */; };
2238CF451FC02AE00081B957 /* TOCropViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 2238CF441FC02AE00081B957 /* TOCropViewController.h */; settings = {ATTRIBUTES = (Public, ); }; };
223DCEB61FBAA85D00F99209 /* TOCropViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 22DB4D831B234CFA008B8466 /* TOCropViewController.m */; };
22A105B32BC134A200DB3A80 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 22A105B22BC134A200DB3A80 /* PrivacyInfo.xcprivacy */; };
22A105B42BC134A200DB3A80 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 22A105B22BC134A200DB3A80 /* PrivacyInfo.xcprivacy */; };
22A105B52BC134A200DB3A80 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 22A105B22BC134A200DB3A80 /* PrivacyInfo.xcprivacy */; };
22A105B62BC134A200DB3A80 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 22A105B22BC134A200DB3A80 /* PrivacyInfo.xcprivacy */; };
22B68F951FFB380700601B1A /* TOCropViewControllerTransitioning.m in Sources */ = {isa = PBXBuildFile; fileRef = 22DB4D8A1B234D07008B8466 /* TOCropViewControllerTransitioning.m */; };
22B68F961FFB380700601B1A /* TOActivityCroppedImageProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 22DB4D9D1B234D4F008B8466 /* TOActivityCroppedImageProvider.m */; };
22B68F971FFB380700601B1A /* TOCroppedImageAttributes.m in Sources */ = {isa = PBXBuildFile; fileRef = 22BF961F1B2CD017009F4785 /* TOCroppedImageAttributes.m */; };
Expand Down Expand Up @@ -171,6 +175,8 @@
2238CF3F1FC029A90081B957 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
2238CF441FC02AE00081B957 /* TOCropViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TOCropViewController.h; sourceTree = "<group>"; };
223DCEB71FBAA91300F99209 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/TOCropViewControllerLocalizable.strings; sourceTree = "<group>"; };
22A105B22BC134A200DB3A80 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
22A105DC2BC1377A00DB3A80 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
22BF961E1B2CD017009F4785 /* TOCroppedImageAttributes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TOCroppedImageAttributes.h; sourceTree = "<group>"; };
22BF961F1B2CD017009F4785 /* TOCroppedImageAttributes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TOCroppedImageAttributes.m; sourceTree = "<group>"; };
22C3C5481AC8CA0D00E86280 /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Base; path = Base.lproj/TOCropViewControllerLocalizable.strings; sourceTree = "<group>"; };
Expand Down Expand Up @@ -302,6 +308,7 @@
220C8EA021062E6D00A9B25D /* Resources */ = {
isa = PBXGroup;
children = (
22A105B22BC134A200DB3A80 /* PrivacyInfo.xcprivacy */,
22C3C5491AC8CA0D00E86280 /* TOCropViewControllerLocalizable.strings */,
);
path = Resources;
Expand Down Expand Up @@ -343,6 +350,7 @@
22D83E76279D951200CF0D8E /* README.md */,
22D83E74279D951200CF0D8E /* CropViewController.podspec */,
22D83E75279D951200CF0D8E /* TOCropViewController.podspec */,
22A105DC2BC1377A00DB3A80 /* Package.swift */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -721,6 +729,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
22A105B42BC134A200DB3A80 /* PrivacyInfo.xcprivacy in Resources */,
04262D8620F6F1C600024177 /* TOCropViewControllerLocalizable.strings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -739,6 +748,7 @@
223424791ABBC0CD00BBC2B1 /* Main.storyboard in Resources */,
2234247E1ABBC0CD00BBC2B1 /* LaunchScreen.xib in Resources */,
2234247B1ABBC0CD00BBC2B1 /* Images.xcassets in Resources */,
22A105B52BC134A200DB3A80 /* PrivacyInfo.xcprivacy in Resources */,
22C3C5471AC8CA0D00E86280 /* TOCropViewControllerLocalizable.strings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -750,6 +760,7 @@
2238CF2D1FC0269C0081B957 /* LaunchScreen.storyboard in Resources */,
2238CF2A1FC0269C0081B957 /* Assets.xcassets in Resources */,
2238CF281FC0269C0081B957 /* Main.storyboard in Resources */,
22A105B62BC134A200DB3A80 /* PrivacyInfo.xcprivacy in Resources */,
220C8EA121062EFC00A9B25D /* TOCropViewControllerLocalizable.strings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -758,6 +769,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
22A105B32BC134A200DB3A80 /* PrivacyInfo.xcprivacy in Resources */,
04262D8720F6F1D600024177 /* TOCropViewControllerLocalizable.strings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -979,7 +991,7 @@
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = "$(SRCROOT)/Objective-C/TOCropViewController/Supporting/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 2.6.1;
PRODUCT_BUNDLE_IDENTIFIER = dev.tim.TOCropViewController;
Expand Down Expand Up @@ -1009,7 +1021,7 @@
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = "$(SRCROOT)/Objective-C/TOCropViewController/Supporting/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 2.6.1;
PRODUCT_BUNDLE_IDENTIFIER = dev.tim.TOCropViewController;
Expand Down Expand Up @@ -1178,7 +1190,7 @@
);
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
INFOPLIST_FILE = "$(SRCROOT)/Objective-C/TOCropViewControllerExample/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = dev.tim.TOCropViewControllerExample;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -1198,7 +1210,7 @@
);
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
INFOPLIST_FILE = "$(SRCROOT)/Objective-C/TOCropViewControllerExample/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = dev.tim.TOCropViewControllerExample;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -1221,7 +1233,7 @@
DEVELOPMENT_TEAM = 6LF3GMKZAB;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "$(SRCROOT)/Swift/CropViewControllerExample/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = dev.tim.CropViewControllerExample;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -1246,7 +1258,7 @@
DEVELOPMENT_TEAM = 6LF3GMKZAB;
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "$(SRCROOT)/Swift/CropViewControllerExample/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = dev.tim.CropViewControllerExample;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -1279,7 +1291,7 @@
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "$(SRCROOT)/Swift/CropViewController/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 2.6.1;
PRODUCT_BUNDLE_IDENTIFIER = dev.tim.CropViewController;
Expand Down Expand Up @@ -1315,7 +1327,7 @@
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = "$(SRCROOT)/Swift/CropViewController/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 2.6.1;
PRODUCT_BUNDLE_IDENTIFIER = dev.tim.CropViewController;
Expand Down
Loading