Swift 5.10 Value of type has no member after Xcode 16
Updated to Xcode 16, Swift 5.10 project. Code that compiled before now fails: Value of type 'SomeModel' has no member 'init(from:)'. I conform to Decodable and implement init(from decoder: Decoder). It is there. The error only shows up in the test target, not the app target. Clean build folder did not help. Did Swift 6 mode get turned on automatically?
4 replies