A brand new SwiftUI Xcode project won't build if I add Stytch as a dependency. Error message: Could not find or use auto-linked library 'swiftXPC': library 'swiftXPC' not found
This project has literally zero changes. Only added Stytch.
Steps to reproduce:
Xcode > File > New Project > App > Storage (None), No tests > Save
A brand new SwiftUI Xcode project won't build if I add Stytch as a dependency. Error message:
Could not find or use auto-linked library 'swiftXPC': library 'swiftXPC' not found
This project has literally zero changes. Only added Stytch.
Steps to reproduce:
https://github.com/stytchauth/stytch-ios
> Add Package-ObjC
(I did this for both the project and the target)This happens if I add the
-ObjC
flag or not.I tried several different versions of Stytch SDK, Everything since
0.18.0
doesn't work. Earlier ones do, for some reason.I can add several other packages, like Firebase, Stripe, etc. and they work just fine. This issue only happens with the Stytch package.