mirror of
https://github.com/samsonjs/SJSAssetExportSession.git
synced 2026-03-25 08:45:50 +00:00
Fix SwiftPM instructions in Readme.md
This commit is contained in:
parent
5c9c5833e5
commit
4fa67c81e9
1 changed files with 4 additions and 2 deletions
|
|
@ -27,12 +27,14 @@ When you're integrating this into an app with Xcode then go to your project's Pa
|
|||
|
||||
### Swift Package Manager (SPM)
|
||||
|
||||
When you're integrating this using SPM on its own then add this to your Package.swift file:
|
||||
When you're integrating this using SPM on its own then add this to the list of dependencies your Package.swift file:
|
||||
|
||||
```swift
|
||||
.package(url: "https://github.com/samsonjs/SJSAssetExportSession.git", .upToNextMajor(from: "0.2"))
|
||||
.package(url: "https://github.com/samsonjs/SJSAssetExportSession.git", .upToNextMajor(from: "0.2.0"))
|
||||
```
|
||||
|
||||
and then add `"SJSAssetExportSession"` to all of the lists of dependencies in your target as well.
|
||||
|
||||
## Usage
|
||||
|
||||
There are two ways of exporting assets: one using dictionaries for audio and video settings just like with `SDAVAssetExportSession`, and the other using a builder-like API with data structures for commonly used settings.
|
||||
|
|
|
|||
Loading…
Reference in a new issue