brew install mint
mint install unsignedapps/swift-create-xcframework
swift create-xcframework --platform ios
ft:359:11: error: 'value' is only available in iOS 15.0 or newer
}.value
^
/Users/johndpope/Documents/gitWorkspace/Supabase/Sources/Get/Sources/Get/DataLoader.swift:359:11: note: add 'if #available' version check
}.value
^
/Users/johndpope/Documents/gitWorkspace/Supabase/Sources/Get/Sources/Get/DataLoader.swift:348:6: note: add @available attribute to enclosing global function
func decode<T: Decodable>(_ data: Data, using decoder: JSONDecoder) async throws -> T {
^
** ARCHIVE FAILED **
The following build commands failed:
CompileSwift normal arm64 (in target 'Get' from project 'Get')
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Get' from project 'Get')
(2 failures)
Error: xcodebuild exited with a non-zero code: 65
swift-driver version: 1.26.9 Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
Target: x86_64-apple-macosx12.0
will try updating xcode to latest.
UPDATE
actually even just running
swift build - I get errors - must be my machine.
ate.swift:11:17: note: add @available attribute to enclosing protocol
public protocol APIClientDelegate {
^
/Users/johndpope/Documents/gitWorkspace/Supabase/Sources/Get/Sources/Get/APIClientDelegate.swift:63:81: error: concurrency is only available in macOS 12.0.0 or newer
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/Users/johndpope/Documents/gitWorkspace/Supabase/Sources/Get/Sources/Get/APIClientDelegate.swift:63:10: note: add @available attribute to enclosing instance method
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^
/Users/johndpope/Documents/gitWorkspace/Supabase/Sources/Get/Sources/Get/APIClientDelegate.swift:62:8: note: add @available attribute to enclosing extension
public extension APIClientDelegate {
^
/Users/johndpope/Documents/gitWorkspace/Supabase/Sources/Get/Sources/Get/APIClientDelegate.swift:67:101: error: concurrency is only available in macOS 12.0.0 or newer
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/Users/johndpope/Documents/gitWorkspace/Supabase/Sources/Get/Sources/Get/APIClientDelegate.swift:67:10: note: add @available attribute to enclosing instance method
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^
/Users/johndpope/Documents/gitWorkspace/Supabase/Sources/Get/Sources/Get/APIClientDelegate.swift:62:8: note: add @available attribute to enclosing extension
public extension APIClientDelegate {
^
brew install mint mint install unsignedapps/swift-create-xcframework swift create-xcframework --platform ios
swift-driver version: 1.26.9 Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) Target: x86_64-apple-macosx12.0
will try updating xcode to latest.
UPDATE
actually even just running swift build - I get errors - must be my machine.