-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi Privy Team π,
I'm encountering a build-breaking issue when integrating the Privy Swift SDK via Swift Package Manager on a fresh project.
Environment:
- MacBook Pro 2020 (Intel)
- macOS Sequoia Version 15.4
- Xcode 16.3 (Swift 6.1)
- Swift Package Manager integration (no CocoaPods)
Problem:
After adding Privy via SPM, trying to import PrivySDK immediately throws the error:
Error extracting version from module interface
The error occurs without any other code, just from attempting to import the SDK.
Note:
The issue persists even when cloning the SDK locally and adding it as a local Swift Package.
It appears to be related to Swift interface compatibility or precompiled binary issues.
Suspected Cause:
- The .swiftinterface files in the published Privy SDK may have been compiled with an older Swift version, and are incompatible with Swift 5.10 / Xcode 15.3.
- Possibly missing proper module stability flags when building for cross-platform (Intel/Apple Silicon) compatibility.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels