Skip to content

Commit

Permalink
Merge pull request #38 from wultra/issues/swift-pm-warnings
Browse files Browse the repository at this point in the history
Fixed warnings when library is integrated with using swift package.
  • Loading branch information
hvge authored Jul 14, 2023
2 parents 3e65d4d + c5098d9 commit d7675fe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ let package = Package(
targets: ["WultraPowerAuthNetworking"])
],
dependencies: [
.package(name: "PowerAuth2", url: "https://github.com/wultra/powerauth-mobile-sdk-spm.git", .upToNextMinor(from: "1.7.3"))
.package(url: "https://github.com/wultra/powerauth-mobile-sdk-spm.git", .upToNextMinor(from: "1.7.8"))
],
targets: [
.target(
name: "WultraPowerAuthNetworking",
dependencies: ["PowerAuth2", .product(name: "PowerAuthCore", package: "PowerAuth2")],
dependencies: [
.product(name: "PowerAuth2", package: "powerauth-mobile-sdk-spm"),
.product(name: "PowerAuthCore", package: "powerauth-mobile-sdk-spm")
],
// For historical reasons, the folder has a wrong case-sensitive name, so we have to force the path
// to get rid of swift PM warning.
path: "Sources/WultraPowerauthNetworking")
Expand Down

0 comments on commit d7675fe

Please sign in to comment.