Skip to content

Commit d4674f1

Browse files
author
Nikos Vasileiou
authored
Merge pull request #68 from stelabouras/update/versions
Update minimum supported versions
2 parents 2b0f13d + 75186d2 commit d4674f1

File tree

5 files changed

+17
-9
lines changed

5 files changed

+17
-9
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,9 @@ logic now normalizes the locale name to match the format that iOS accepts.
123123
*June 3, 2024*
124124

125125
- Adds SwiftUI support via attributed string swizzling.
126+
127+
## Transifex iOS SDK 2.0.4
128+
129+
*June 21, 2024*
130+
131+
- Updates minimum supported OS versions.

Package.swift

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ import PackageDescription
66
let package = Package(
77
name: "transifex",
88
platforms: [
9-
.iOS(.v10)
9+
.iOS(.v12),
10+
.watchOS(.v4),
11+
.tvOS(.v12),
12+
.macOS(.v10_13)
1013
],
1114
products: [
1215
.library(

README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,20 @@ The SDK can fetch translations over the air (OTA), manages an internal cache of
1212
and works seamlessly without requiring any changes in the source code of the app by the
1313
developer.
1414

15-
Both Objective-C and Swift projects are supported and iOS 10+ is required.
15+
Both Objective-C and Swift projects are supported.
1616

1717
The package is built using Swift 5.3, as it currently requires a bundled resource to be
18-
present in the package (which was introduced on version 5.3). An update that will require
19-
a lower Swift version is currently WIP.
18+
present in the package (feature introduced in version 5.3).
2019

2120
Learn more about [Transifex Native](https://developers.transifex.com/docs/native).
2221

2322
The full SDK documentation is available at [https://transifex.github.io/transifex-swift/](https://transifex.github.io/transifex-swift/).
2423

2524
## Minimum Requirements
2625

27-
| Swift | Xcode | Platforms |
28-
|-----------------|-----------------|---------------------------------------------------|
29-
| Swift 5.3 | Xcode 12.3 | iOS 10.0 |
26+
| Swift | Xcode | Platforms |
27+
|-----------------|------------------|------------------------------------------------------|
28+
| Swift 5.3 | Xcode 15.4 | iOS 12.0, watchOS 4.0, tvOS 12.0, macOS 10.13 |
3029

3130
## Usage
3231

Sources/Transifex/Core.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ render '\(stringToRender)' locale code: \(localeCode) params: \(params). Error:
361361
/// A static class that is the main point of entry for all the functionality of Transifex Native throughout the SDK.
362362
public final class TXNative : NSObject {
363363
/// The SDK version
364-
internal static let version = "2.0.3"
364+
internal static let version = "2.0.4"
365365

366366
/// The filename of the file that holds the translated strings and it's bundled inside the app.
367367
public static let STRINGS_FILENAME = "txstrings.json"

Tests/TransifexObjCTests/TXNativeObjcSwizzlerTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ - (void)testOneFloatOneString {
8080
[TXNativeObjcSwizzler revertLocalizedString];
8181
}
8282

83-
- (void)testAttributed API_AVAILABLE(macos(12.0)) {
83+
- (void)testAttributed API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0)) {
8484
TXMemoryCache *memoryCache = [TXMemoryCache new];
8585
[memoryCache updateWithTranslations:@{
8686
@"en": @{

0 commit comments

Comments
 (0)