I'm not 100% sure if it's exactly your case, but it worked for me. Simulators are somewhat buggy in the new Xcode. Run this in Terminal:
/usr/libexec/PlistBuddy /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Library/Wallpaper/Collections/Collections.plist -c "add order array" -c "add order: string 23EC2CF1-0188-49FC-B214-EC1AB37FE5C4"
Solution was taken from here.
It's the same thing as it was with the Xcode 14 first release. I hope it helps.
Post
Replies
Boosts
Views
Activity
You can just add .clipShape(RoundedRectangle(cornerRadius: 15)) over the ZStack to clip it.
Same thing as in previous year, same fix. Just paste it into the Terminal:
/usr/libexec/PlistBuddy /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Library/Wallpaper/Collections/Collections.plist -c "add order array" -c "add order: string 23EC2CF1-0188-49FC-B214-EC1AB37FE5C4"
And we have a winner! https://developer.apple.com/forums/thread/734573?answerId=764784022#764784022
I've got the same issue, although I wouldn't say that running simulator in advance somewhat helps. My biggest issue is a preview window which takes 5 minutes to launch. I verified my system on an absolutely fresh Sonoma install. If you've got any clues, please share them here.
I had the same issue yesterday, and spent 4 hours trying everything eventually making it working. I think two things helped: resetting developer environment at iCloud console, and turning on and off CloudKit checkboxes in targets' "Singing & Capabilities". Everything I've done with data controller itself was fruitless, I guess it's something to do with certificates, entitlements, signatures, all that stuff. Not code itself.
wizard_dev is a genius. The (temporary) solution for the problem, that for a view that appears in the .sheet is to kill NavigationView/Stack that goes into this view.
Beta 6 has arrived, still the same issue. I have a suspicion, that it may be not Xcode per se, but some Ventura issue. It's strange that they ignoring the issue of an overheatng cpu.
EDIT: It solved problem in one place (with Picker), but not in other (with DatePicker).
Problem unresolved in XCode 14 beta 6. On M1 (non-pro/max models) CPU usage close to 100% at all heads, on MacBook Air cpu temperature constantly around 80—95º.