diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/CHANGELOG.md b/CHANGELOG.md index c04d86f..1704cfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,14 +12,22 @@ N/A #### Enhancements -- Expose `VersionTracker.currentVersion` and `VersionTracker.currentBuild`. They were previously inaccessible due to -being internal. +N/A + #### Bugfixes N/A -## [3.0.0](https://github.com/tbaranes/VersionTrackerSwift/releases/tag/3.0.0) (27-03-209) +## [3.1.0](https://github.com/tbaranes/VersionTrackerSwift/releases/tag/3.1.0) (30-04-2024) + +#### Enhancements + +- Add private manifest file (PrivacyInfo.xcprivacy) to the project to meet Apple's requirement. +- Expose `VersionTracker.currentVersion` and `VersionTracker.currentBuild`. They were previously inaccessible due to +being internal. + +## [3.0.0](https://github.com/tbaranes/VersionTrackerSwift/releases/tag/3.0.0) (27-03-2019) #### API breaking changes diff --git a/Package.swift b/Package.swift index 277d9b4..8a07bb6 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.0 +// swift-tools-version:5.10 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -9,11 +9,12 @@ let package = Package( .library(name: "VersionTracker", targets: ["VersionTracker"]) ], targets: [ - .target(name: "VersionTracker", - path: "Sources", - resources: [ - .process("Resources/PrivacyInfo.xcprivacy") - ] - ), + .target( + name: "VersionTracker", + path: "Sources", + resources: [ + .process("Resources/PrivacyInfo.xcprivacy") + ] + ), ] ) diff --git a/README.md b/README.md index d9293da..ef6a6f4 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,6 @@ # VersionTrackerSwift -[![Travis](https://img.shields.io/travis/tbaranes/VersionTrackerSwift.svg)](https://travis-ci.org/tbaranes/VersionTrackerSwift) -![Language](https://img.shields.io/badge/language-Swift%204.2-orange.svg) -[![CocoaPods](https://img.shields.io/cocoapods/v/VersionTrackerSwift.svg?style=flat)](https://github.com/tbaranes/VersionTrackerSwift) -[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) +![Language](https://img.shields.io/badge/language-Swift%205.10-orange.svg) [![Platform](https://img.shields.io/cocoapods/p/VersionTrackerSwift.svg?style=flat)](http://cocoadocs.org/docsets/VersionTrackerSwift) VersionTrackerSwift is a versions / builds tracker to know which version has been installed by a user. @@ -51,24 +48,6 @@ Check out the examples and play with the version / build / number to have a conc Each time you call the method `track`, the version and build are stored in `NSUserDefaults` if a new version / build is detected. Then, you can access to any information from the tracker. The version and build number are the information you specify in your app's Info.plist. - -## Installation - -### CocoaPods - -Add the following line in your Podfile: - -``` -pod 'VersionTrackerSwift' -``` - -### Carthage - -Add the following line to your Cartfile: - -``` -github "tbaranes/VersionTrackerSwift" -``` ### Manual diff --git a/VersionTracker/VersionTracker.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/VersionTracker/VersionTracker.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/VersionTracker/VersionTracker.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + +