Skip to content

Commit

Permalink
Merge branch 'feature/SIOS-1_spm_support'
Browse files Browse the repository at this point in the history
* feature/SIOS-1_spm_support:
  SIOS-1 Readme update
  SILV-1 Added Package.swift
  • Loading branch information
fl-lokalise committed May 13, 2021
2 parents 387f120 + 6ddead0 commit 5bbc9ce
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// swift-tools-version:5.3
import PackageDescription

let package = Package(
name: "Lokalise",
platforms: [.iOS(.v9)],
products: [
.library(name: "Lokalise",
targets: ["Lokalise"])
],
dependencies: [
],
targets: [
.binaryTarget(
name: "Lokalise",
url: "https://github.com/lokalise/lokalise-ios-framework/releases/download/0.10.2/Lokalise.xcframework.0.10.2.zip",
checksum: "9e7c9ede0cc2092d3b86538e0b5c2244ed1d2f32323188a45f1dd06366a68be6"
)
]
)
11 changes: 11 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@

## Setup

### Swift Package Manager

To install using [Swift Package Manager](https://swift.org/package-manager/):

a. Add through **File -> Swift Packages -> Add Package Dependency...** action in Xcode. Use `https://github.com/lokalise/lokalise-ios-framework.git` repository URL and the **Version: Up to Next Minor** starting with `0.10.2` option.

b. Add this line to `dependencies` section of your `Package.swift`:
```
.package(url: "https://github.com/lokalise/lokalise-ios-framework.git", .upToNextMinor(from: "0.10.2"))
```

### CocoaPods

To install using [CocoaPods](https://cocoapods.org):
Expand Down

0 comments on commit 5bbc9ce

Please sign in to comment.