I filed this FB13300807 a month ago, and haven't heard back from anyone. This is why CloudKit is so frustrating to work with ... there's no avenue or channel to communicate with the actual CloudKit teams, other than throwing a Feedback request into the void and hoping for some (possibly helpful) response over the next few weeks.
I created FB13325773 with a sample project, if you're able to take a look. I was able to reproduce the issue in a new Xcode project, where I remove the storyboard and try to create the app's window programatically, this time with UIWindowSceneDelegate. Same problem ... app works fine on iOS simulator, but crashes on the 'makeKeyAndVisible' call when running on Apple Vision simulator.
The firstScene object isn't nil, thought the windows and keyWindow properties are both nil.
The assertion I get is: *** Assertion failure in BOOL _UIWindowSceneCompatibleIsHidden(UIWindow *__strong)(), UIWindowScene.m:2732
Is there a way I can inspect it?
Thanks. I filed FB13300807 and added the container identifier as well. Is there anything else I would need to add to the ticket?
Can you also confirm what the CKErrorServerRejectedRequest signifies? And whether, in this case, it makes sense to just recreate the same operation and send it over again?
Thanks.
Hi. Thanks, they do seem like very similar problems. In my case, it seems to happen on my main iPhone mostly, and seems to work fine on a couple of test devices. Do you have that experience as well? Is it working in production for you? Have you tried iOS16? I'm wondering if it's just a bug with the app not reading the correct permissions on my device, for my app.
For Home Screen widgets. You're right, hard to imagine a way to do it in code, since the snapshot is just saved to an archive on disk. I was hoping it's possible in Xcode or something, but doesn't look like it. If anyone knows a way (either an external tool or some shenanigans) I would love to know. Just need it to capture some problem for internal use.
When I add this, I get an error in Xcode: Branches have mismatching types 'some View' (result of 'Self.containerBackground(for:alignment:content:)') and 'some View' (result of 'Self.background(_:alignment:)')
Thanks for confirming that it's not just me! Yes, I had to update the app to fall back to using geocodeAddressString in case I get "no results" from geocodePostalAddress
Where is the limit stated in the documentation? I saw it with the (deprecated) UILocalNotification doc, but not with the 'new' UserNotifications framework.
I filed this FB13300807 a month ago, and haven't heard back from anyone. This is why CloudKit is so frustrating to work with ... there's no avenue or channel to communicate with the actual CloudKit teams, other than throwing a Feedback request into the void and hoping for some (possibly helpful) response over the next few weeks.
I created FB13325773 with a sample project, if you're able to take a look. I was able to reproduce the issue in a new Xcode project, where I remove the storyboard and try to create the app's window programatically, this time with UIWindowSceneDelegate. Same problem ... app works fine on iOS simulator, but crashes on the 'makeKeyAndVisible' call when running on Apple Vision simulator.
The firstScene object isn't nil, thought the windows and keyWindow properties are both nil.
The assertion I get is: *** Assertion failure in BOOL _UIWindowSceneCompatibleIsHidden(UIWindow *__strong)(), UIWindowScene.m:2732
Is there a way I can inspect it?
Thanks. I filed FB13300807 and added the container identifier as well. Is there anything else I would need to add to the ticket?
Can you also confirm what the CKErrorServerRejectedRequest signifies? And whether, in this case, it makes sense to just recreate the same operation and send it over again?
Thanks.
Hi. Thanks, they do seem like very similar problems. In my case, it seems to happen on my main iPhone mostly, and seems to work fine on a couple of test devices. Do you have that experience as well? Is it working in production for you? Have you tried iOS16? I'm wondering if it's just a bug with the app not reading the correct permissions on my device, for my app.
For Home Screen widgets. You're right, hard to imagine a way to do it in code, since the snapshot is just saved to an archive on disk. I was hoping it's possible in Xcode or something, but doesn't look like it. If anyone knows a way (either an external tool or some shenanigans) I would love to know. Just need it to capture some problem for internal use.
When I add this, I get an error in Xcode: Branches have mismatching types 'some View' (result of 'Self.containerBackground(for:alignment:content:)') and 'some View' (result of 'Self.background(_:alignment:)')
Thanks for confirming that it's not just me! Yes, I had to update the app to fall back to using geocodeAddressString in case I get "no results" from geocodePostalAddress
Where is the limit stated in the documentation? I saw it with the (deprecated) UILocalNotification doc, but not with the 'new' UserNotifications framework.