Hi Team,
Attempting to build our app with Xcode 13 / iOS 15, and getting a fail during archive, appearing to come from within the accelerate module.
The two errors are:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk/usr/lib/swift/Accelerate.swiftmodule/armv7-apple-ios.swiftinterface:591:6: error: enum cases with associated values cannot be marked potentially unavailable with '@available'
@available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
^
in a number of places, and the following one, once:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.0.sdk/usr/lib/swift/Accelerate.swiftmodule/armv7-apple-ios.swiftinterface:1:1: error: failed to build module 'Accelerate'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.17.216 clang-1300.0.18.1)', while this compiler is 'Apple Swift version 5.5 (swiftlang-1300.0.19.104 clang-1300.0.18.4)'). Please select a toolchain which matches the SDK.
// swift-interface-format-version: 1.0
^
This is Version 13.0 beta (13A5154h), doing a release build archive (dev build/run succeeds if that helps).
Any insights into whats going on would be great?
Cheers.
If this error is due to kingfisher then you can try below approach. In order to resolve this issue I tried by changing the deployment target in Kingfisher from 8.0 to 11.0 and now I am able to run in the simulator.