Skip to content

Commit 2d55a9c

Browse files
committed
Lowered deployment target to iOS 16;
Updated README.md; Recompiled XCFrameworks;
1 parent 1ae5cdb commit 2d55a9c

31 files changed

Lines changed: 54 additions & 46 deletions

File tree

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import PackageDescription
66
let package = Package(
77
name: "SwiftTagLib",
88
platforms: [
9-
.iOS(.v17),
10-
.macOS(.v14),
9+
.iOS(.v16),
10+
.macOS(.v13),
1111
],
1212
products: [
1313
.library(

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
<div align=center>
2+
<img src="./assets/SwiftTagLib.png" width="20%"/>
13

24
# SwiftTagLib
3-
![Swift Version](https://img.shields.io/badge/Swift-5.9+-orange.svg) ![iOS Version](https://img.shields.io/badge/iOS-17+-orange.svg)
5+
![Swift Version](https://img.shields.io/badge/Swift-5.9+-orange.svg) ![iOS Version](https://img.shields.io/badge/iOS-16+-orange.svg)
6+
7+
</div>
48

59
A library to read and write **Metadata** in audio files.
610
Built on top of [`taglib`](https://github.com/taglib/taglib).
@@ -37,6 +41,10 @@ audioFile.metadata.attachedPictures = [
3741
try audioFile.write()
3842
```
3943

44+
> [!WARNING]
45+
> This library does not state or guarantee ABI stability despite packaging `XCFramework`'s.
46+
> Whenever the version changes you should recompile.
47+
4048
## Note on C++ Interoprability
4149

4250
This library is done using [Swift C++ Interop](https://www.swift.org/documentation/cxx-interop/) (there are some [limitations](https://www.swift.org/documentation/cxx-interop/status/) to consider).
@@ -64,6 +72,6 @@ This library would not be possible without any of this libraries:
6472
- [taglib](https://github.com/taglib/taglib)
6573
- [utfcpp](https://github.com/nemtrif/utfcpp)
6674

67-
## Notes:
75+
## Notes
6876

6977
- [WMA](https://en.wikipedia.org/wiki/Advanced_Systems_Format) file format is supported by taglib [here](https://taglib.org/api/namespaceTagLib_1_1ASF.html#details), but not `SFBAudioEngine`, can probably try to support it even though it's outdated.

XCFrameworkPackage/CxxTagLibBridge.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,32 @@
88
<key>BinaryPath</key>
99
<string>CxxTagLibBridge.framework/CxxTagLibBridge</string>
1010
<key>LibraryIdentifier</key>
11-
<string>ios-arm64</string>
11+
<string>ios-arm64_x86_64-simulator</string>
1212
<key>LibraryPath</key>
1313
<string>CxxTagLibBridge.framework</string>
1414
<key>SupportedArchitectures</key>
1515
<array>
1616
<string>arm64</string>
17+
<string>x86_64</string>
1718
</array>
1819
<key>SupportedPlatform</key>
1920
<string>ios</string>
21+
<key>SupportedPlatformVariant</key>
22+
<string>simulator</string>
2023
</dict>
2124
<dict>
2225
<key>BinaryPath</key>
2326
<string>CxxTagLibBridge.framework/CxxTagLibBridge</string>
2427
<key>LibraryIdentifier</key>
25-
<string>ios-arm64_x86_64-simulator</string>
28+
<string>ios-arm64</string>
2629
<key>LibraryPath</key>
2730
<string>CxxTagLibBridge.framework</string>
2831
<key>SupportedArchitectures</key>
2932
<array>
3033
<string>arm64</string>
31-
<string>x86_64</string>
3234
</array>
3335
<key>SupportedPlatform</key>
3436
<string>ios</string>
35-
<key>SupportedPlatformVariant</key>
36-
<string>simulator</string>
3737
</dict>
3838
</array>
3939
<key>CFBundlePackageType</key>
Binary file not shown.

XCFrameworkPackage/CxxTagLibBridge.xcframework/ios-arm64_x86_64-simulator/CxxTagLibBridge.framework/_CodeSignature/CodeResources

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<dict>
77
<key>Info.plist</key>
88
<data>
9-
AZgG6FiURh2ADhUQdeurtgU+lVQ=
9+
13OT329HEdQ1dzcgIYVjh7p3nes=
1010
</data>
1111
</dict>
1212
<key>files2</key>

XCFrameworkPackage/Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ let tests = Target.testTarget(
142142
let package = Package(
143143
name: "SwiftTagLib",
144144
platforms: [
145-
.iOS(.v17),
146-
.macOS(.v14),
145+
.iOS(.v16),
146+
.macOS(.v13),
147147
],
148148
products: [
149149
taglib.asLibrary,

XCFrameworkPackage/SwiftTagLib.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,32 @@
88
<key>BinaryPath</key>
99
<string>SwiftTagLib.framework/SwiftTagLib</string>
1010
<key>LibraryIdentifier</key>
11-
<string>ios-arm64_x86_64-simulator</string>
11+
<string>ios-arm64</string>
1212
<key>LibraryPath</key>
1313
<string>SwiftTagLib.framework</string>
1414
<key>SupportedArchitectures</key>
1515
<array>
1616
<string>arm64</string>
17-
<string>x86_64</string>
1817
</array>
1918
<key>SupportedPlatform</key>
2019
<string>ios</string>
21-
<key>SupportedPlatformVariant</key>
22-
<string>simulator</string>
2320
</dict>
2421
<dict>
2522
<key>BinaryPath</key>
2623
<string>SwiftTagLib.framework/SwiftTagLib</string>
2724
<key>LibraryIdentifier</key>
28-
<string>ios-arm64</string>
25+
<string>ios-arm64_x86_64-simulator</string>
2926
<key>LibraryPath</key>
3027
<string>SwiftTagLib.framework</string>
3128
<key>SupportedArchitectures</key>
3229
<array>
3330
<string>arm64</string>
31+
<string>x86_64</string>
3432
</array>
3533
<key>SupportedPlatform</key>
3634
<string>ios</string>
35+
<key>SupportedPlatformVariant</key>
36+
<string>simulator</string>
3737
</dict>
3838
</array>
3939
<key>CFBundlePackageType</key>

0 commit comments

Comments
 (0)