I can't understand how to install swift sdk. Where I need to add
TypeScript
dependencies: [
.package(url: "git@github.com:appwrite/sdk-for-apple.git", from: "4.0.2"),
],
and
TypeScript
targets: [
.target(
name: "YourAppTarget",
dependencies: [
.product(name: "", package: "sdk-for-apple")
]
),
Do I need to add Package Swift in my project or I should to add it here(photo)?
TL;DR
Developers are confused about installing the Swift SDK. They are unsure where to add the given code snippets for dependencies and targets. They are also unsure if they need to add the Package Swift in their project or if it should be added in the specified location.
Solution: To install the Swift SDK, developers need to add the given code snippets for dependencies and targets in their project's Swift Package Manager file. They do not need to add the Package Swift separately.Recommended threads
- I am currently seeking opportunities as ...
Hey! š I'm a Shopify guy. Been building stores for 8+ years. Still haven't lost my mind. Barely. I make stores that don't suck fast, smooth, and actually built...
- Apple OAuth2 "Registration Not Complete"...
I'm getting a "Registration Not Complete" error when implementing Apple Sign In OAuth2 on self-hosted Appwrite. Environment: Self-hosted Appwrite (latest), iOS...
- Cannot use Apple Oauth2 in React Native/...
Hi! I've trying to add the Apple sign in feature into my Expo App. I followed the docs, but I still receiving the error "Cannot set 'location.href'". Can someon...