Skip to content

Commit

Permalink
Fix SPM installation process for readme.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoDotIO committed Dec 16, 2022
1 parent 9b0aab5 commit d57998e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ The [Swift Package Manager](https://swift.org/package-manager/) allows for devel

* File > Swift Packages > Add Package Dependency
* Add `https://github.com/marcodotio/OpenAIKit.git`
* Select "Up to next Major" with "1.1.1"
* Select "Up to next Major" with "1.1.2"

#### SPM Through Xcode Package

Once you have your Swift package set up, add the Git link within the `dependencies` value of your `Package.swift` file.

```swift
dependencies: [
.package(url: "https://github.com/marcodotio/OpenAIKit.git", .upToNextMajor(from: "1.1.1"))
.package(url: "https://github.com/marcodotio/OpenAIKit.git", .upToNextMajor(from: "1.1.2"))
]
```

Expand Down

0 comments on commit d57998e

Please sign in to comment.