Skip to content

Commit

Permalink
Updated SPM integration and tested privacy manifest in bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
TimOliver committed Apr 6, 2024
1 parent 00c6907 commit 0be1cb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
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: 2 additions & 0 deletions TOCropViewControllerExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
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 @@ -349,6 +350,7 @@
22D83E76279D951200CF0D8E /* README.md */,
22D83E74279D951200CF0D8E /* CropViewController.podspec */,
22D83E75279D951200CF0D8E /* TOCropViewController.podspec */,
22A105DC2BC1377A00DB3A80 /* Package.swift */,
);
sourceTree = "<group>";
};
Expand Down

0 comments on commit 0be1cb0

Please sign in to comment.