Skip to content

Commit

Permalink
Merge pull request #29 from tbaranes/feature/next_version
Browse files Browse the repository at this point in the history
Preparing next release
  • Loading branch information
tbaranes authored Apr 30, 2024
2 parents 86b41a0 + 5f9a555 commit 74c6806
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 32 deletions.
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
15 changes: 8 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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")
]
),
]
)
23 changes: 1 addition & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

0 comments on commit 74c6806

Please sign in to comment.