From 5b9250e76f6414ab045e5d08eb7fdd68c513f294 Mon Sep 17 00:00:00 2001 From: Yll Fejziu <38266916+yllfejziu@users.noreply.github.com> Date: Fri, 19 Apr 2024 21:07:44 +0200 Subject: [PATCH 1/2] Chore/Pivacy manifest (#15) Co-authored-by: Borut Tomazin --- .github/workflows/Tests.yml | 4 +-- Package.swift | 15 ++++++---- Resources/PrivacyInfo.xcprivacy | 51 +++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 7 deletions(-) create mode 100644 Resources/PrivacyInfo.xcprivacy diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 0d24c19..9627414 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -7,13 +7,13 @@ on: jobs: Tests: - runs-on: macos-13 + runs-on: macos-14-xlarge steps: - name: Cancel previous jobs uses: styfle/cancel-workflow-action@0.11.0 - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Load Latest Xcode uses: maxim-lobanov/setup-xcode@v1 diff --git a/Package.swift b/Package.swift index 596cc16..77af002 100644 --- a/Package.swift +++ b/Package.swift @@ -27,14 +27,16 @@ let package = Package( dependencies: [ .product(name: "PovioKitPromise", package: "PovioKit"), ], - path: "Sources/Core" + path: "Sources/Core", + resources: [.copy("../../Resources/PrivacyInfo.xcprivacy")] ), .target( name: "PovioKitAuthApple", dependencies: [ "PovioKitAuthCore" ], - path: "Sources/Apple" + path: "Sources/Apple", + resources: [.copy("../../Resources/PrivacyInfo.xcprivacy")] ), .target( name: "PovioKitAuthGoogle", @@ -42,7 +44,8 @@ let package = Package( "PovioKitAuthCore", .product(name: "GoogleSignInSwift", package: "GoogleSignIn-iOS") ], - path: "Sources/Google" + path: "Sources/Google", + resources: [.copy("../../Resources/PrivacyInfo.xcprivacy")] ), .target( name: "PovioKitAuthFacebook", @@ -51,7 +54,8 @@ let package = Package( .product(name: "PovioKitCore", package: "PovioKit"), .product(name: "FacebookLogin", package: "facebook-ios-sdk") ], - path: "Sources/Facebook" + path: "Sources/Facebook", + resources: [.copy("../../Resources/PrivacyInfo.xcprivacy")] ), .target( name: "PovioKitAuthLinkedIn", @@ -59,7 +63,8 @@ let package = Package( "PovioKitAuthCore", .product(name: "PovioKitNetworking", package: "PovioKit") ], - path: "Sources/LinkedIn" + path: "Sources/LinkedIn", + resources: [.copy("../../Resources/PrivacyInfo.xcprivacy")] ), .testTarget( name: "Tests", diff --git a/Resources/PrivacyInfo.xcprivacy b/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..18ca0b4 --- /dev/null +++ b/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,51 @@ + + + + + NSPrivacyAccessedAPITypes + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeUserID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeName + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeEmailAddress + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAppFunctionality + + + + + From dbcbaff485856ebf7f20cb2bc420587ce80432e0 Mon Sep 17 00:00:00 2001 From: Borut Tomazin Date: Fri, 19 Apr 2024 21:10:28 +0200 Subject: [PATCH 2/2] SPM update. --- Package.resolved | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Package.resolved b/Package.resolved index c35b105..416983e 100644 --- a/Package.resolved +++ b/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Alamofire/Alamofire", "state" : { - "revision" : "78424be314842833c04bc3bef5b72e85fff99204", - "version" : "5.6.4" + "revision" : "f455c2975872ccd2d9c81594c658af65716e9b9a", + "version" : "5.9.1" } }, { @@ -14,8 +14,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/openid/AppAuth-iOS.git", "state" : { - "revision" : "71cde449f13d453227e687458144bde372d30fc7", - "version" : "1.6.2" + "revision" : "8c0b028aedf617d6d780d448dc836f7048166d0f", + "version" : "1.7.4" } }, { @@ -32,8 +32,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/google/GoogleSignIn-iOS", "state" : { - "revision" : "7932d33686c1dc4d7df7a919aae47361d1cdfda4", - "version" : "7.0.0" + "revision" : "a7965d134c5d3567026c523e0a8a583f73b62b0d", + "version" : "7.1.0" } }, { @@ -41,8 +41,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/google/gtm-session-fetcher.git", "state" : { - "revision" : "d415594121c9e8a4f9d79cecee0965cf35e74dbd", - "version" : "3.1.1" + "revision" : "0382ca27f22fb3494cf657d8dc356dc282cd1193", + "version" : "3.4.1" } }, { @@ -50,8 +50,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/google/GTMAppAuth.git", "state" : { - "revision" : "cee3c709307912d040bd1e06ca919875a92339c6", - "version" : "2.0.0" + "revision" : "5d7d66f647400952b1758b230e019b07c0b4b22a", + "version" : "4.1.1" } }, { @@ -59,8 +59,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/poviolabs/PovioKit", "state" : { - "revision" : "3b332cee4d07131f08a9ac015a297db08f6b4985", - "version" : "3.0.0" + "revision" : "c1f4299b7b262d81b335788625c1ef287dba4c95", + "version" : "3.3.0" } } ],