var dic: [String: String] = [:]
Use Xcode 15 to run the above code on iOS 11 and 12, and it will crash when SWIFT_OPTIMIZATION_LEVEL = -O is set.
But SWIFT_OPTIMIZATION_LEVEL = -Onone doesn't crash.
var dic: [String: String] = [:]
Use Xcode 15 to run the above code on iOS 11 and 12, and it will crash when SWIFT_OPTIMIZATION_LEVEL = -O is set.
But SWIFT_OPTIMIZATION_LEVEL = -Onone doesn't crash.
Build Settings: