Post

Replies

Boosts

Views

Activity

Reply to macOS beta 2 -SwiftTranscriptionSampleApp not work
Some weird things are happening. Someone on the iOS-developers Slack channel figured this out: // This fails @State private var session = LanguageModelSession() // This works @State private var session = LanguageModelSession(guardrails:.default) I verified this fixed it a few hours ago, but now: After a few hours both started working fine, like Apple fixed the model remotely. Is that possible? There's a secondary problem where model results are cached EVEN IF AN ERROR OCCURS. This means that if the session returns an error for whatever reason, including a temporary Apple bug, the identical query will continue to return the same cached error even after quitting and re-running the app. Unfortunately I can't submit a bug report on this because I can't force an error any longer. Please let me know if this is fixed for you now or if you need to add the guardrails parameter.
Jun ’25
Reply to xcodebuild returns "Error: No such module"
With the help of Apple engineers during the WWDC, we determined that my primary problem was that I used both --target and --scheme parameters to xcodebuild. Turns out --scheme alone works much better. There was another problem in my bash script and xcodebuild didn't return errors well in that case, but that was a secondary issue.
Jul ’22
Reply to macOS beta 2 -SwiftTranscriptionSampleApp not work
Some weird things are happening. Someone on the iOS-developers Slack channel figured this out: // This fails @State private var session = LanguageModelSession() // This works @State private var session = LanguageModelSession(guardrails:.default) I verified this fixed it a few hours ago, but now: After a few hours both started working fine, like Apple fixed the model remotely. Is that possible? There's a secondary problem where model results are cached EVEN IF AN ERROR OCCURS. This means that if the session returns an error for whatever reason, including a temporary Apple bug, the identical query will continue to return the same cached error even after quitting and re-running the app. Unfortunately I can't submit a bug report on this because I can't force an error any longer. Please let me know if this is fixed for you now or if you need to add the guardrails parameter.
Replies
Boosts
Views
Activity
Jun ’25
Reply to xcodebuild returns "Error: No such module"
With the help of Apple engineers during the WWDC, we determined that my primary problem was that I used both --target and --scheme parameters to xcodebuild. Turns out --scheme alone works much better. There was another problem in my bash script and xcodebuild didn't return errors well in that case, but that was a secondary issue.
Replies
Boosts
Views
Activity
Jul ’22