Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Run tests
run: xcodebuild test -scheme ContentPassExample -workspace ContentPassExample/ContentPassExample.xcworkspace -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 15' | xcpretty && exit ${PIPESTATUS[0]}
run: xcodebuild test -scheme ContentPassExample -workspace ContentPassExample/ContentPassExample.xcworkspace -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17' | xcpretty && exit ${PIPESTATUS[0]}
4 changes: 2 additions & 2 deletions ContentPass.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "ContentPass"
spec.version = "2.2.1"
spec.version = "2.2.2"
spec.summary = "Handles all authentication and validation with contentpass servers for you."

spec.homepage = "https://contentpass.de"
Expand All @@ -13,6 +13,6 @@ Pod::Spec.new do |spec|
spec.source = { :git => "https://github.com/contentpass/contentpass-ios.git", :tag => "#{spec.version}" }
spec.source_files = "Sources/**/*"

spec.dependency 'AppAuth', '1.7.5'
spec.dependency 'AppAuth', '~> 1.7.5'
spec.dependency 'Strongbox', '0.6.1'
end
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
targets: ["ContentPass"])
],
dependencies: [
.package(name: "AppAuth", url: "https://github.com/openid/AppAuth-iOS", .exact("1.7.5")),
.package(name: "AppAuth", url: "https://github.com/openid/AppAuth-iOS", .upToNextMinor(from: "1.7.5")),
.package(name: "Strongbox", url: "https://github.com/granoff/Strongbox", .exact("0.6.1"))
],
targets: [
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Installation

Since we use external dependencies for solved problems such as OAuth 2.0, we strongly recommend using a dependency manager.
We currently support SPM as well as CocoaPods.
Install the SDK with Swift Package Manager. CocoaPods is deprecated.



Expand All @@ -22,7 +22,7 @@ or
* Add the following `dependency` to your `Package.swift`:
```swift
dependencies: [
.package(url: "https://github.com/contentpass/contentpass-ios", .upToNextMajor(from: "2.2.1"))
.package(url: "https://github.com/contentpass/contentpass-ios", .upToNextMajor(from: "2.2.2"))
]
```

Expand All @@ -32,13 +32,14 @@ In both cases don't forget to add the sdk to your targets.

### CocoaPods

With [CocoaPods](https://guides.cocoapods.org/using/getting-started.html), add the following line to your `Podfile`:
CocoaPods is deprecated. New versions are not published to CocoaPods trunk. Use Swift Package Manager.

Apps that still install via CocoaPods can depend on the git repository until they migrate:

```ruby
pod 'ContentPass', '~> 2.2.1'
pod 'ContentPass', :git => 'https://github.com/contentpass/contentpass-ios.git', :tag => '2.2.2'
```

Then, run `pod install` via terminal.



## Usage
Expand Down
Loading