Post

Replies

Boosts

Views

Activity

`displayManager.isDisplayCriteriaMatchingEnabled` arbitrary result (no distinction between frame rate and dynamic range)
displayManager.isDisplayCriteriaMatchingEnabled returns true if one (or both) between refresh rate, and dynamic range, is set to match the content in the AppleTV settings. There's no way to make a distinction between them, and only enable one of them accordingly. Looks like Apple failed to change their APIs to me. What am I missing?
0
0
535
Oct ’23
What `partial apply for closure #1 in closure #1 in Double.init<A>(_:)` crash is about?
I give up: I have been investigating this crash that is impacting hugely my product, without finding the cause. Crashlitics shows me that this bug started on a certain date, after I released a new version, but I can't match anything with this crash. Do you have any idea of what this could be caused from? Can you provide an example of code that could be generating this crash? Thank you 🙏🏻 Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000686d303ed870 0 libswiftCore.dylib _swift_release_dealloc + 32 1 libswiftCore.dylib bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1> >::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 136 2 AppName <compiler-generated> - Line 4309475464 partial apply for closure #1 in closure #1 in Double.init<A>(_:) + 4309475464 3 libswiftCore.dylib _swift_release_dealloc + 56 4 libswiftCore.dylib bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1> >::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 136 5 libsystem_blocks.dylib _call_dispose_helpers_excp + 48 6 libsystem_blocks.dylib _Block_release + 252 7 libdispatch.dylib _dispatch_client_callout + 20 8 libdispatch.dylib _dispatch_main_queue_drain + 984 9 libdispatch.dylib _dispatch_main_queue_callback_4CF + 44 10 CoreFoundation __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 11 CoreFoundation __CFRunLoopRun + 1996 12 CoreFoundation CFRunLoopRunSpecific + 608 13 GraphicsServices GSEventRunModal + 164 14 UIKitCore -[UIApplication _run] + 888 15 UIKitCore UIApplicationMain + 340 16 AppName main.m - Line 18 main + 18 17 (Missing) From Xcode:
2
0
2.9k
Sep ’23