Skip to content

Commit

Permalink
Piwik PRO SDK for iOS VERSION 1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mandrzej authored Apr 30, 2024
1 parent 366cb89 commit ac79820
Show file tree
Hide file tree
Showing 19 changed files with 579 additions and 12 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Changelog
All notable changes to this project will be documented in this file.

## 1.2.4 - 30.04.2024

### Added
- Privacy manifest for XCFramework.
- Digital signature.

### Fixed
- Lack of compatibility with Xcode 15.3 resulting in an error when uploading applications to AppStoreConnect or Testflight. Please note that the problem is due to a bug on Apple's side and only a workaround has been implemented.

## 1.2.3 - 15.02.2024

### Added
Expand Down
12 changes: 7 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@ import PackageDescription

let package = Package(
name: "PiwikPROSDK",
platforms: [.iOS(.v9)],
products: [
.library(
name: "PiwikPROSDK",
targets: ["PiwikPROSDK"]),
],
dependencies: [

targets: ["PiwikPROSDKWrapper"]),
],
targets: [
.target(
name: "PiwikPROSDKWrapper",
dependencies: ["PiwikPROSDK"],
path: "PiwikPROSDK-Wrapper",
resources: [.process("Resources/PrivacyInfo.xcprivacy")]
),
.binaryTarget(name: "PiwikPROSDK", path: "./PiwikPROSDK.xcframework"),
]
)
19 changes: 19 additions & 0 deletions PiwikPROSDK-Wrapper/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</dict>
</plist>
1 change: 1 addition & 0 deletions PiwikPROSDK-Wrapper/empty.m
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// This file is intentionally empty.
1 change: 1 addition & 0 deletions PiwikPROSDK-Wrapper/include/empty.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// This file is intentionally empty.
4 changes: 3 additions & 1 deletion PiwikPROSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

s.name = "PiwikPROSDK"
s.version = "1.2.3"
s.version = "1.2.4"
s.summary = "Piwik PRO SDK for iOS"

s.description = "SDK for iOS to measure your apps with Piwik PRO"
Expand Down Expand Up @@ -47,6 +47,8 @@ Pod::Spec.new do |s|

s.ios.vendored_frameworks = "PiwikPROSDK.xcframework"

s.resource_bundles = {"PiwikPROSDK" => ["PiwikPROSDK-Wrapper/Resources/PrivacyInfo.xcprivacy"]}

s.requires_arc = false

s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "$(PODS_ROOT)/**" }
Expand Down
10 changes: 5 additions & 5 deletions PiwikPROSDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,32 @@
<key>BinaryPath</key>
<string>PiwikPROSDK.framework/PiwikPROSDK</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>PiwikPROSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>PiwikPROSDK.framework/PiwikPROSDK</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>PiwikPROSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file added PiwikPROSDK.xcframework/_CodeSignature/CodeDirectory
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit ac79820

Please sign in to comment.