When I run my app from Xcode 12b1 and hit a break point, LLDB says "Cannot create Swift scratch context (couldn't load the Swift stdlib)" and any subsequent commands like "po" seem to do nothing. Who can I fix this?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Is it possible to style a Picker on macOS to look like it was in a Form, but without actually being in a grouped Form?
Unfortunately I can't use Form because its style is not customizable enough.
I've tried setting various buttonStyles but I only got close to what I want. The biggest problem is that the picker is left-aligned and I need it right-aligned.
Since iOS 26.1 the AlarmKit alerts don't work anymore on simulator when the screen is locked. This is also still broken on the current Xcode 26.2 beta.
They do trigger on the home screen and in-app though. Also on device everything works fine.
Is there any secret trick to make it work again?
I'm implementing an AppIntent of my macOS app (not iOS). It has a non-optional Date parameter like so:
@Parameter(
title: LocalizedStringResource("AppIntent.parameter.date"),
requestValueDialog: IntentDialog(LocalizedStringResource("AppIntent.parameter.date.requestValue"))
)
var date: Date
...
static var parameterSummary: some ParameterSummary {
Summary("Remind me about \(\.$title) at \(\.$date)")
}
In the Shortcuts app it shows up fine and everything works if I actually enter a date in the summary.
If the parameter is empty when running the intent, the "requestValue" dialog pops up asking for a date with a date picker. However, the returned date is always 7 hours in the future. E.g. I enter a date with 11:00am, then it would return the same date but with 6:00pm. Am I doing something wrong or is this a bug in Shortcuts?