Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolves issue with failing pod spec lint Heimdallr.podspec #125

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ xcuserdata
## Obj-C/Swift specific
*.hmap
*.ipa
.swiftpm/
Package.resolved


# Carthage
Carthage/
1 change: 0 additions & 1 deletion .swift-version

This file was deleted.

1 change: 1 addition & 0 deletions Heimdallr.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Pod::Spec.new do |spec|
spec.summary = 'Easy to use OAuth 2 library, written in Swift'
spec.description = 'Heimdallr is an OAuth 2.0 client specifically designed for easy usage. It currently supports the resource owner password credentials grant flow, refreshing an access token as well as extension grants.'

spec.swift_versions = ['5.0']
spec.ios.deployment_target = '9.0'
spec.osx.deployment_target = '10.10'

Expand Down
38 changes: 38 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// swift-tools-version:5.3
import PackageDescription

let package = Package(
name: "Heimdallr",
platforms: [
.macOS(.v10_10),
.iOS(.v9)
],
products: [
.library(
name: "Heimdallr",
targets: ["Heimdallr"]),
],
dependencies: [
.package(url: "https://github.com/antitypical/Result", from: "4.1.0"),
// .package(url: "https://github.com/AliSoftware/OHHTTPStubs", from: "9.0.0"),
// .package(url: "https://github.com/Quick/Nimble", from: "8.0.0"),
// .package(url: "https://github.com/Quick/Quick", from: "2.1.0")
],
targets: [
.target(
name: "Heimdallr",
dependencies: ["Result"],
path: "Heimdallr",
exclude: ["Supporting Files/Info.plist"]
),
// .testTarget(
// name: "HeimdallrTests",
// dependencies: ["Heimdallr", "Nimble", "Quick", "OHHTTPStubs"],
// path: "HeimdallrTests",
// exclude: ["Info.plist"],
// resources: [
// .copy("JSON Responses")
// ]
// ),
]
)