any update here? we got the same issue - Germany
Post
Replies
Boosts
Views
Activity
moved to separate answer
struct DTO: Decodable {
let amount: Decimal
}
let backendResponse = """
{"amount": 90.21}
""".data(using: .utf8)!
let decoded: DTO = try! JSONDecoder().decode(DTO.self, from: backendResponse)
debugPrint(decoded.amount)
this results in "90.20999999999999" using the playground
Hmm, executing my unittests on older simulators 14.3 works, it just came up when running tests on iOS 15 simulators. (both with Xcode 13) our code didn't change for a year or so :D
Just ran my playground snippet with Xcode 12.5.1 and it worked there. (output -> 90.21)
Ok, looks like updating to iOS 15.0.2 fixed this issue.
Yes, we have the device password set. Setup is a MacMini with MacOS BigSur, Xcode 13 and two devices connected via USB. iPhone XS and iPhone 7, both iOS 15.1. It seems like the frequent asking for device code is new behaviour.
I will check if we can remove the password.
We got the same issue with iPhone 7 and iPhone XS, both iOS 15.4.1 and Xcode 13.3.1
same here using Xcode 13.3.1
This should be opened again. We still get this errors until reconnecting and rebooting physically devices.
Finally we found it was caused by an accidentally updated SPM dependency