Skip to content

Commit

Permalink
Merge pull request #71 from PSchmiedmayer/master
Browse files Browse the repository at this point in the history
Add Swift Package Manager Support
  • Loading branch information
djhayden authored Sep 25, 2023
2 parents 91ef4dc + 349fc6c commit 98f01ca
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ DerivedData/
*.perspectivev3
!default.perspectivev3
xcuserdata/

.swiftpm
24 changes: 24 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// swift-tools-version:5.7
import PackageDescription


let package = Package(
name: "EstimoteProximitySDK",
platforms: [
.iOS(.v10)
],
products: [
.library(
name: "EstimoteProximitySDK",
targets: [
"EstimoteProximitySDK"
]
)
],
targets: [
.binaryTarget(
name: "EstimoteProximitySDK",
path: "./EstimoteProximitySDK/EstimoteProximitySDK.xcframework"
)
]
)
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ Below there's a presentation of two zones:

Starting with [version 1.2.0](https://github.com/Estimote/iOS-Proximity-SDK/releases/tag/v1.2.0) Proximity SDK supports Swift 4.2.

### Swift Package Manager

Follow the article about [Adding Package Dependencies to Your App](https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app) using the following repository URL: `https://github.com/Estimote/iOS-Proximity-SDK`.

### CocoaPods
[CocoaPods](https://cocoapods.org/) is an easy way to add external libraries. To use it to fetch Proximity SDK:
1. Add `pod 'EstimoteProximitySDK'` to your Podfile
Expand Down

0 comments on commit 98f01ca

Please sign in to comment.