My project deploy target is iOS 11.2, I have an intent file for widget supports, which contains a custom type.
The project works with Xcode 13.2.1, when using Xcode 13.3 beta (13E5086k), the generated file contains an extra extension without available decorator, which cause a compile time error: 'IntentType' is only available in iOS 12.0 or newer
public extension IntentType {
override class var supportsSecureCoding: Bool { true }
}
Compile project using Xcode 13.2.1:
Compile project using Xcode 13.3:
I've composed a new feedback with a sample project: FB9889772 (Xcode 13.3 failed to compile project deploy to iOS 11.0 with Intent definition contains custom types, error: 'IntentClass' is only available in iOS 12.0 or newer.)