Silly me, forgot to call ntohs() on internalPort.
Post
Replies
Boosts
Views
Activity
Yes, using Core Data with CloudKit and List with ForEach.
I have a 3 columns app (sidebar, list, detail view). The crash occurs when I select an item in the sidebar, which causes the list to update. Sometimes I'm able to select an item and the list refreshes without crashing but most of the time it does.
This crash seems pretty random and occurs in different scenarios. At least it doesn't seem to be something we're doing wrong. Thanks for the radar!
I was told that this should be fixed when Monterey shipped at the latest. Now, many apps will stop working when people start to upgrade to Monterey.
Since this is a serious regression, I wonder why this bug hasn't been fixed yet.
Moreover, I filed a radar days after the first Monterey beta was released during WWDC. We're constantly told "file your bugs early" by Apple but I guess this isn't enough.
Thank you!!! This fixed a similar issue for me!
This will also work:
let _ = assignment?.description
I'm running the app in the debugger so the app is not being terminated. Once it is in the background, selectedPerson is set to nil but the call stack doesn't reveal anything unfortunately.
I manage to "fix" this behaviour by saving the value when didEnterBackgroundNotification is triggered and setting it back when willEnterForegroundNotification is. This is more of a hack than an actual solution but it was just to demonstrate the issue.
Moreover, I always set selectedPerson to a default value at launch.
Thanks!
No.
See the demo project above. If a project that simple crashes, then your suggestions won't help. My bet is that beta 6 is broken.
It only crashes on a device running b6. Someone mentioned above that the Simulator is actually on beta 5 since Xcode hasn't got an update this week.
Exporting and importing worked exactly once for me, then it stopped working. Disabling "Localization Export Supported" doesn't help. Wy not just import the .xliff files? I'm starting to regret moving to Strings Dicts.
Will do ASAP. Just tested in the 17.0.1 Simulator and the sheet is showing. Seems like a 17.2 regression. I'll try to test on 17.1.