Xcode 26.1 / OS 26.1 regression with schema and macros

After Xcode 26.1 was updated and installing the OS 26.1 simulators, my app started crashing related to transformable properties. When I checked my schema, I noticed that properties with array collection types are suddenly set with an option transformable with Optional("NSSecureUnarchiveFromData")], even though I do not use any transformable types. I verified the macros, no transformable was specified. This is causing ModelCoders to encode/decode my properties incorrectly.

This is not an issue when I switch back to OS 26.0 simulators.

Please allow me to make sure I understand correctly: Are you saying that Xcode 26.1 automatically changes your code by adding @Attribute(.transformable) for your SwiftData properties with array collection types?

If that's the case, would you mind to file a feedback report with the code before and after the change for us, and share your report ID here? Thanks!

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

@Model class CollectionType {
    @Attribute var stringArray: [String] = []
    @Attribute var stringSet: Set<String> = []
    
    init() {}
}
    Attribute - name: stringArray, options: [transformable with Optional("NSSecureUnarchiveFromData")], valueType: Array<String>, defaultValue: [], hashModifier: nil
    Attribute - name: stringSet, options: [transformable with Optional("NSSecureUnarchiveFromData")], valueType: Set<String>, defaultValue: [], hashModifier: nil
Xcode 26.1 / OS 26.1 regression with schema and macros
 
 
Q