-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
New issue checklist
- I have reviewed the
READMEand documentation - I have searched existing issues and this is not a duplicate
- I have attempted to reproduce the issue and include an example project.
General information
Superwallversion: 4.3.0- iOS version(s): macOS 15.4.1 (24E263)
- CocoaPods/Carthage version (if applicable):
- Xcode version: Version 16.3 (16E140)
- Devices/Simulators affected:
- Reproducible in the demo project? (Yes/No): I guess so
- Related issues:
Describe the bug
Adding a macOS target that also uses Superwall causes build errors. Note that the package declares .macOS(.v10_12) as a requirement, but uses 10.15 features heavily.
<app_folder>/SourcePackages/checkouts/Superscript-iOS/Sources/Superscript/cel.swift:698:59 'UnsafeContinuation' is only available in macOS 10.15 or newer
<app_folder>/SourcePackages/checkouts/Superscript-iOS/Sources/Superscript/cel.swift:698:59 'UnsafeContinuation' is only available in macOS 10.15 or newer
<app_folder>/SourcePackages/checkouts/Superscript-iOS/Sources/Superscript/cel.swift:717:28 'withUnsafeContinuation(isolation:_:)' is only available in macOS 10.15 or newer
<app_folder>/SourcePackages/checkouts/Superscript-iOS/Sources/Superscript/cel.swift:747:16 'init(priority:operation:)' is only available in macOS 10.15 or newer
<app_folder>/SourcePackages/checkouts/Superscript-iOS/Sources/Superscript/cel.swift:747:16 'Task' is only available in macOS 10.15 or newer
<app_folder>/SourcePackages/checkouts/Superscript-iOS/Sources/Superscript/cel.swift:764:16 'init(priority:operation:)' is only available in macOS 10.15 or newer
<app_folder>/SourcePackages/checkouts/Superscript-iOS/Sources/Superscript/cel.swift:764:16 'Task' is only available in macOS 10.15 or newer
<app_folder>/SourcePackages/checkouts/Superscript-iOS/Sources/Superscript/cel.swift:789:1 Protocol 'UniffiForeignFutureTask' requires 'cancel()' to be available in macOS 10.13 and newer
<app_folder>/SourcePackages/checkouts/Superscript-iOS/Sources/Superscript/cel.swift:789:1 Protocol 'UniffiForeignFutureTask' requires 'cancel()' to be available in macOS 10.13 and newer
<app_folder>/SourcePackages/checkouts/Superscript-iOS/Sources/Superscript/cel.swift:789:11 'Task' is only available in macOS 10.15 or newer
<app_folder>/SourcePackages/checkouts/Superscript-iOS/Sources/Superscript/cel.swift:789:11 'Task' is only available in macOS 10.15 or newer
Steps to reproduce
- Use Superwall
- Add a macOS destination
Other Information
e.g. stacktraces, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.
Metadata
Metadata
Assignees
Labels
No labels