Finally we found it was caused by an accidentally updated SPM dependency
Post
Replies
Boosts
Views
Activity
This should be opened again. We still get this errors until reconnecting and rebooting physically devices.
same here using Xcode 13.3.1
We got the same issue with iPhone 7 and iPhone XS, both iOS 15.4.1 and Xcode 13.3.1
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.
Ok, looks like updating to iOS 15.0.2 fixed this issue.
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)
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
moved to separate answer
any update here? we got the same issue - Germany