Superwall-iOS
Superwall-iOS copied to clipboard
[BUG] Superscript-ios fails to compile for mac app - package declares macOS 10.12, but uses features that need macOS 10.15
trafficstars
New issue checklist
- [x] I have reviewed the
READMEand documentation - [x] 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.
Hi, yes this is a known issue. We'll give an update here when that's fixed. Thanks
Thanks, I'd love if I'd be able to use Superwall in mac app as well.
Please fix, it's keeping agents from being able to build and debug swift packages that import superwall.