diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8218d2c..94c6e1a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,12 +23,13 @@ jobs: fail-fast: true matrix: xcode: - - ^13 + - ^14 + # - ^15 xcodebuildCommand: - - "-sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11'" + - "-sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14'" - "-sdk macosx -destination 'platform=macOS'" - "-sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV 4K (2nd generation)'" - - "-sdk watchsimulator -destination 'platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm'" + - "-sdk watchsimulator -destination 'platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)'" steps: - name: Repository checkout uses: actions/checkout@v2 diff --git a/Package.swift b/Package.swift index ea4058c..e8ea19c 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.2 +// swift-tools-version:5.7 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -27,7 +27,7 @@ let package = Package( // Targets can depend on other targets in this package, and on products in packages this package depends on. .target( name: "TelemetryClient", - dependencies: [] + resources: [.copy("PrivacyInfo.xcprivacy")] ), .testTarget( name: "TelemetryClientTests", diff --git a/PrivacyInfo.xcprivacy b/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..23592d4 --- /dev/null +++ b/PrivacyInfo.xcprivacy @@ -0,0 +1,35 @@ + + + + + NSPrivacyCollectedDataTypes + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeProductInteraction + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyCollectedDataType + NSPrivacyCollectedDataTypeDeviceID + NSPrivacyCollectedDataTypeLinked + + NSPrivacyCollectedDataTypeTracking + + NSPrivacyCollectedDataTypePurposes + + NSPrivacyCollectedDataTypePurposeAnalytics + + + + NSPrivacyTracking + + +