Build Information
Failed to build FreemiumKit, reference 1.11.0 (034f0a
), with Swift 5.10 for macOS (SPM) on 24 Oct 2024 04:33:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.55.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlineDev/FreemiumKit.git
Reference: 1.11.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FlineDev/FreemiumKit
* tag 1.11.0 -> FETCH_HEAD
HEAD is now at 034f0a9 Update binary
Cloned https://github.com/FlineDev/FreemiumKit.git
Revision (git rev-parse @):
034f0a9c67eb24be90ec4334369dc23d44245f35
SUCCESS checkout https://github.com/FlineDev/FreemiumKit.git at 1.11.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/FlineDev/FreemiumKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[0/5] Copying Info.plist
[0/5] Copying PrivacyInfo.xcprivacy
[3/5] Copying FreemiumKitSDK.framework
[4/5] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module FreemiumKit
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:31:11: error: cannot find type 'SwiftUICore' in scope
extension SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:119:11: error: cannot find type 'SwiftUICore' in scope
extension SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:164:11: error: cannot find type 'SwiftUICore' in scope
extension SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:17:67: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public init(_ titleKey: SwiftUICore.LocalizedStringKey, systemImage: Swift.String? = nil, unlocksAtTier: Swift.Int = 1, showPaywallOnPressIfLocked: Swift.Bool = true, action: @escaping () -> Swift.Void, onPaywallAppear: (() -> Swift.Void)? = nil, onPaywallDisappear: (() -> Swift.Void)? = nil)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:18:65: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:32:120: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public func onPurchasesLoaded(_ perform: @escaping () -> Swift.Void) -> some SwiftUICore.View
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:111:137: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidFeatureView<UnlockedView, LockedView> : SwiftUICore.View where UnlockedView : SwiftUICore.View, LockedView : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:111:168: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidFeatureView<UnlockedView, LockedView> : SwiftUICore.View where UnlockedView : SwiftUICore.View, LockedView : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:113:65: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:120:142: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public func onPurchaseCompleted(_ perform: @escaping (StoreKit.Transaction) -> Swift.Void) -> some SwiftUICore.View
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:152:65: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:159:117: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public func body(content: FreemiumKitSDK.PaywallModifier.Content) -> some SwiftUICore.View
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:165:262: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public func paywall(isPresented: SwiftUICore.Binding<Swift.Bool>, preselectedTier: Swift.Int = 1, nonDismissable: Swift.Bool = false, onAppear: (() -> Swift.Void)? = nil, onDisappear: (() -> Swift.Void)? = nil) -> some SwiftUICore.View
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:22:102: error: unable to resolve type for _opaqueReturnTypeOf attribute
public typealias Body = @_opaqueReturnTypeOf("$s14FreemiumKitSDK17PaidFeatureButtonV4bodyQrvp", 0) __
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:16:75: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidFeatureButton : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:26:16: error: cannot find type 'SwiftUICore' in scope
case color(SwiftUICore.Color)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:27:25: error: cannot find type 'SwiftUICore' in scope
case linearGradient(SwiftUICore.LinearGradient)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:29:102: error: cannot find type 'SwiftUICore' in scope
public init(background: FreemiumKitSDK.ParentalGateOptions.Background = .color(.clear), textColor: SwiftUICore.Color = .primary, submitButtonBackgroundColor: SwiftUICore.Color = .accentColor, submitButtonTitleColor: SwiftUICore.Color = .white)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:29:161: error: cannot find type 'SwiftUICore' in scope
public init(background: FreemiumKitSDK.ParentalGateOptions.Background = .color(.clear), textColor: SwiftUICore.Color = .primary, submitButtonBackgroundColor: SwiftUICore.Color = .accentColor, submitButtonTitleColor: SwiftUICore.Color = .white)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:29:219: error: cannot find type 'SwiftUICore' in scope
public init(background: FreemiumKitSDK.ParentalGateOptions.Background = .color(.clear), textColor: SwiftUICore.Color = .primary, submitButtonBackgroundColor: SwiftUICore.Color = .accentColor, submitButtonTitleColor: SwiftUICore.Color = .white)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:29:83: error: cannot infer contextual base in reference to member 'clear'
public init(background: FreemiumKitSDK.ParentalGateOptions.Background = .color(.clear), textColor: SwiftUICore.Color = .primary, submitButtonBackgroundColor: SwiftUICore.Color = .accentColor, submitButtonTitleColor: SwiftUICore.Color = .white)
~^~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:117:100: error: unable to resolve type for _opaqueReturnTypeOf attribute
public typealias Body = @_opaqueReturnTypeOf("$s14FreemiumKitSDK15PaidFeatureViewV4bodyQrvp", 0) __<UnlockedView, LockedView>
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:111:99: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidFeatureView<UnlockedView, LockedView> : SwiftUICore.View where UnlockedView : SwiftUICore.View, LockedView : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:148:90: error: cannot find type 'SwiftUICore' in scope
case decorative(icon: FreemiumKitSDK.PaidStatusView.DecorativeIcon, foregroundColor: SwiftUICore.Color = .white, backgroundColor: SwiftUICore.Color = .accentColor)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:148:135: error: cannot find type 'SwiftUICore' in scope
case decorative(icon: FreemiumKitSDK.PaidStatusView.DecorativeIcon, foregroundColor: SwiftUICore.Color = .white, backgroundColor: SwiftUICore.Color = .accentColor)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:156:99: error: unable to resolve type for _opaqueReturnTypeOf attribute
public typealias Body = @_opaqueReturnTypeOf("$s14FreemiumKitSDK14PaidStatusViewV4bodyQrvp", 0) __
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:123:72: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidStatusView : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:159:112: error: 'some' types are only permitted in properties, subscripts, and functions
@_Concurrency.MainActor @preconcurrency public func body(content: FreemiumKitSDK.PaywallModifier.Content) -> some SwiftUICore.View
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:159:100: error: 'Content' is not a member type of struct 'FreemiumKitSDK.PaywallModifier'
@_Concurrency.MainActor @preconcurrency public func body(content: FreemiumKitSDK.PaywallModifier.Content) -> some SwiftUICore.View
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:158:55: note: 'PaywallModifier' declared here
@_Concurrency.MainActor @preconcurrency public struct PaywallModifier : SwiftUICore.ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:162:139: error: unable to resolve type for _opaqueReturnTypeOf attribute
public typealias Body = @_opaqueReturnTypeOf("$s14FreemiumKitSDK15PaywallModifierV4body7contentQr7SwiftUI05_ViewE8_ContentVyACG_tF", 0) __
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:158:73: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaywallModifier : SwiftUICore.ViewModifier {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FreemiumKit/FreemiumKit.swift:2:19: error: failed to build module 'FreemiumKitSDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)', while this compiler is 'Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)'). Please select a toolchain which matches the SDK.
@_exported import FreemiumKitSDK
^
[7/8] Compiling FreemiumKit resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:31:11: error: cannot find type 'SwiftUICore' in scope
extension SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:119:11: error: cannot find type 'SwiftUICore' in scope
extension SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:164:11: error: cannot find type 'SwiftUICore' in scope
extension SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:17:67: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public init(_ titleKey: SwiftUICore.LocalizedStringKey, systemImage: Swift.String? = nil, unlocksAtTier: Swift.Int = 1, showPaywallOnPressIfLocked: Swift.Bool = true, action: @escaping () -> Swift.Void, onPaywallAppear: (() -> Swift.Void)? = nil, onPaywallDisappear: (() -> Swift.Void)? = nil)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:18:65: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:32:120: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public func onPurchasesLoaded(_ perform: @escaping () -> Swift.Void) -> some SwiftUICore.View
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:111:137: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidFeatureView<UnlockedView, LockedView> : SwiftUICore.View where UnlockedView : SwiftUICore.View, LockedView : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:111:168: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidFeatureView<UnlockedView, LockedView> : SwiftUICore.View where UnlockedView : SwiftUICore.View, LockedView : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:113:65: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:120:142: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public func onPurchaseCompleted(_ perform: @escaping (StoreKit.Transaction) -> Swift.Void) -> some SwiftUICore.View
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:152:65: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:159:117: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public func body(content: FreemiumKitSDK.PaywallModifier.Content) -> some SwiftUICore.View
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:165:262: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public func paywall(isPresented: SwiftUICore.Binding<Swift.Bool>, preselectedTier: Swift.Int = 1, nonDismissable: Swift.Bool = false, onAppear: (() -> Swift.Void)? = nil, onDisappear: (() -> Swift.Void)? = nil) -> some SwiftUICore.View
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:22:102: error: unable to resolve type for _opaqueReturnTypeOf attribute
public typealias Body = @_opaqueReturnTypeOf("$s14FreemiumKitSDK17PaidFeatureButtonV4bodyQrvp", 0) __
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:16:75: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidFeatureButton : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:26:16: error: cannot find type 'SwiftUICore' in scope
case color(SwiftUICore.Color)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:27:25: error: cannot find type 'SwiftUICore' in scope
case linearGradient(SwiftUICore.LinearGradient)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:29:102: error: cannot find type 'SwiftUICore' in scope
public init(background: FreemiumKitSDK.ParentalGateOptions.Background = .color(.clear), textColor: SwiftUICore.Color = .primary, submitButtonBackgroundColor: SwiftUICore.Color = .accentColor, submitButtonTitleColor: SwiftUICore.Color = .white)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:29:161: error: cannot find type 'SwiftUICore' in scope
public init(background: FreemiumKitSDK.ParentalGateOptions.Background = .color(.clear), textColor: SwiftUICore.Color = .primary, submitButtonBackgroundColor: SwiftUICore.Color = .accentColor, submitButtonTitleColor: SwiftUICore.Color = .white)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:29:219: error: cannot find type 'SwiftUICore' in scope
public init(background: FreemiumKitSDK.ParentalGateOptions.Background = .color(.clear), textColor: SwiftUICore.Color = .primary, submitButtonBackgroundColor: SwiftUICore.Color = .accentColor, submitButtonTitleColor: SwiftUICore.Color = .white)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:29:83: error: cannot infer contextual base in reference to member 'clear'
public init(background: FreemiumKitSDK.ParentalGateOptions.Background = .color(.clear), textColor: SwiftUICore.Color = .primary, submitButtonBackgroundColor: SwiftUICore.Color = .accentColor, submitButtonTitleColor: SwiftUICore.Color = .white)
~^~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:117:100: error: unable to resolve type for _opaqueReturnTypeOf attribute
public typealias Body = @_opaqueReturnTypeOf("$s14FreemiumKitSDK15PaidFeatureViewV4bodyQrvp", 0) __<UnlockedView, LockedView>
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:111:99: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidFeatureView<UnlockedView, LockedView> : SwiftUICore.View where UnlockedView : SwiftUICore.View, LockedView : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:148:90: error: cannot find type 'SwiftUICore' in scope
case decorative(icon: FreemiumKitSDK.PaidStatusView.DecorativeIcon, foregroundColor: SwiftUICore.Color = .white, backgroundColor: SwiftUICore.Color = .accentColor)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:148:135: error: cannot find type 'SwiftUICore' in scope
case decorative(icon: FreemiumKitSDK.PaidStatusView.DecorativeIcon, foregroundColor: SwiftUICore.Color = .white, backgroundColor: SwiftUICore.Color = .accentColor)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:156:99: error: unable to resolve type for _opaqueReturnTypeOf attribute
public typealias Body = @_opaqueReturnTypeOf("$s14FreemiumKitSDK14PaidStatusViewV4bodyQrvp", 0) __
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:123:72: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidStatusView : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:159:112: error: 'some' types are only permitted in properties, subscripts, and functions
@_Concurrency.MainActor @preconcurrency public func body(content: FreemiumKitSDK.PaywallModifier.Content) -> some SwiftUICore.View
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:159:100: error: 'Content' is not a member type of struct 'FreemiumKitSDK.PaywallModifier'
@_Concurrency.MainActor @preconcurrency public func body(content: FreemiumKitSDK.PaywallModifier.Content) -> some SwiftUICore.View
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:158:55: note: 'PaywallModifier' declared here
@_Concurrency.MainActor @preconcurrency public struct PaywallModifier : SwiftUICore.ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:162:139: error: unable to resolve type for _opaqueReturnTypeOf attribute
public typealias Body = @_opaqueReturnTypeOf("$s14FreemiumKitSDK15PaywallModifierV4body7contentQr7SwiftUI05_ViewE8_ContentVyACG_tF", 0) __
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:158:73: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaywallModifier : SwiftUICore.ViewModifier {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FreemiumKit/FreemiumKit.swift:2:19: error: failed to build module 'FreemiumKitSDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)', while this compiler is 'Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)'). Please select a toolchain which matches the SDK.
@_exported import FreemiumKitSDK
^
[8/8] Compiling FreemiumKit FreemiumKit.swift
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:31:11: error: cannot find type 'SwiftUICore' in scope
extension SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:119:11: error: cannot find type 'SwiftUICore' in scope
extension SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:164:11: error: cannot find type 'SwiftUICore' in scope
extension SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:17:67: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public init(_ titleKey: SwiftUICore.LocalizedStringKey, systemImage: Swift.String? = nil, unlocksAtTier: Swift.Int = 1, showPaywallOnPressIfLocked: Swift.Bool = true, action: @escaping () -> Swift.Void, onPaywallAppear: (() -> Swift.Void)? = nil, onPaywallDisappear: (() -> Swift.Void)? = nil)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:18:65: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:32:120: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public func onPurchasesLoaded(_ perform: @escaping () -> Swift.Void) -> some SwiftUICore.View
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:111:137: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidFeatureView<UnlockedView, LockedView> : SwiftUICore.View where UnlockedView : SwiftUICore.View, LockedView : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:111:168: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidFeatureView<UnlockedView, LockedView> : SwiftUICore.View where UnlockedView : SwiftUICore.View, LockedView : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:113:65: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:120:142: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public func onPurchaseCompleted(_ perform: @escaping (StoreKit.Transaction) -> Swift.Void) -> some SwiftUICore.View
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:152:65: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public var body: some SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:159:117: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public func body(content: FreemiumKitSDK.PaywallModifier.Content) -> some SwiftUICore.View
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:165:262: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public func paywall(isPresented: SwiftUICore.Binding<Swift.Bool>, preselectedTier: Swift.Int = 1, nonDismissable: Swift.Bool = false, onAppear: (() -> Swift.Void)? = nil, onDisappear: (() -> Swift.Void)? = nil) -> some SwiftUICore.View
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:22:102: error: unable to resolve type for _opaqueReturnTypeOf attribute
public typealias Body = @_opaqueReturnTypeOf("$s14FreemiumKitSDK17PaidFeatureButtonV4bodyQrvp", 0) __
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:16:75: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidFeatureButton : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:26:16: error: cannot find type 'SwiftUICore' in scope
case color(SwiftUICore.Color)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:27:25: error: cannot find type 'SwiftUICore' in scope
case linearGradient(SwiftUICore.LinearGradient)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:29:102: error: cannot find type 'SwiftUICore' in scope
public init(background: FreemiumKitSDK.ParentalGateOptions.Background = .color(.clear), textColor: SwiftUICore.Color = .primary, submitButtonBackgroundColor: SwiftUICore.Color = .accentColor, submitButtonTitleColor: SwiftUICore.Color = .white)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:29:161: error: cannot find type 'SwiftUICore' in scope
public init(background: FreemiumKitSDK.ParentalGateOptions.Background = .color(.clear), textColor: SwiftUICore.Color = .primary, submitButtonBackgroundColor: SwiftUICore.Color = .accentColor, submitButtonTitleColor: SwiftUICore.Color = .white)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:29:219: error: cannot find type 'SwiftUICore' in scope
public init(background: FreemiumKitSDK.ParentalGateOptions.Background = .color(.clear), textColor: SwiftUICore.Color = .primary, submitButtonBackgroundColor: SwiftUICore.Color = .accentColor, submitButtonTitleColor: SwiftUICore.Color = .white)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:29:83: error: cannot infer contextual base in reference to member 'clear'
public init(background: FreemiumKitSDK.ParentalGateOptions.Background = .color(.clear), textColor: SwiftUICore.Color = .primary, submitButtonBackgroundColor: SwiftUICore.Color = .accentColor, submitButtonTitleColor: SwiftUICore.Color = .white)
~^~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:117:100: error: unable to resolve type for _opaqueReturnTypeOf attribute
public typealias Body = @_opaqueReturnTypeOf("$s14FreemiumKitSDK15PaidFeatureViewV4bodyQrvp", 0) __<UnlockedView, LockedView>
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:111:99: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidFeatureView<UnlockedView, LockedView> : SwiftUICore.View where UnlockedView : SwiftUICore.View, LockedView : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:148:90: error: cannot find type 'SwiftUICore' in scope
case decorative(icon: FreemiumKitSDK.PaidStatusView.DecorativeIcon, foregroundColor: SwiftUICore.Color = .white, backgroundColor: SwiftUICore.Color = .accentColor)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:148:135: error: cannot find type 'SwiftUICore' in scope
case decorative(icon: FreemiumKitSDK.PaidStatusView.DecorativeIcon, foregroundColor: SwiftUICore.Color = .white, backgroundColor: SwiftUICore.Color = .accentColor)
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:156:99: error: unable to resolve type for _opaqueReturnTypeOf attribute
public typealias Body = @_opaqueReturnTypeOf("$s14FreemiumKitSDK14PaidStatusViewV4bodyQrvp", 0) __
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:123:72: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaidStatusView : SwiftUICore.View {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:159:112: error: 'some' types are only permitted in properties, subscripts, and functions
@_Concurrency.MainActor @preconcurrency public func body(content: FreemiumKitSDK.PaywallModifier.Content) -> some SwiftUICore.View
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:159:100: error: 'Content' is not a member type of struct 'FreemiumKitSDK.PaywallModifier'
@_Concurrency.MainActor @preconcurrency public func body(content: FreemiumKitSDK.PaywallModifier.Content) -> some SwiftUICore.View
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:158:55: note: 'PaywallModifier' declared here
@_Concurrency.MainActor @preconcurrency public struct PaywallModifier : SwiftUICore.ViewModifier {
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:162:139: error: unable to resolve type for _opaqueReturnTypeOf attribute
public typealias Body = @_opaqueReturnTypeOf("$s14FreemiumKitSDK15PaywallModifierV4body7contentQr7SwiftUI05_ViewE8_ContentVyACG_tF", 0) __
^
/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/FreemiumKitSDK.framework/Modules/FreemiumKitSDK.swiftmodule/arm64-apple-macos.private.swiftinterface:158:73: error: cannot find type 'SwiftUICore' in scope
@_Concurrency.MainActor @preconcurrency public struct PaywallModifier : SwiftUICore.ViewModifier {
^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/FreemiumKit/FreemiumKit.swift:2:19: error: failed to build module 'FreemiumKitSDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.0 effective-5.10 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)', while this compiler is 'Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)'). Please select a toolchain which matches the SDK.
@_exported import FreemiumKitSDK
^
error: fatalError
BUILD FAILURE 5.10 macosSpm