Skip to content

Commit dec4340

Browse files
authored
Added cocoapoads (#143)
1 parent 0c4e875 commit dec4340

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/guide/frontend/ios.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ For passkeys, you need to set up a `webcredentials` section for your app.
2424

2525
The SDK can be added to your project via [Swift Package Manager](https://www.swift.org/package-manager/). You can then access the SDK functionality using `import Passwordless`.
2626

27+
### CocoaPods
28+
29+
The SDK can be added to your project via CocoaPods. Specify the following in your Podfile:
30+
31+
pod 'Passwordless', '~> 1.0.0'
32+
2733
### Initialization
2834

2935
The SDK provides a `PasswordlessClient` object that needs to be initialized with a `PasswordlessConfig` configuration. The configuration contains the API URL and API key needed to interface with [Passwordless.dev](https://bitwarden.com/products/passwordless/). It also requires the relying party ID, which represents the domain of your server that hosts an apple-app-site-association file with your app's team ID and bundle ID.

0 commit comments

Comments
 (0)