Post

Replies

Boosts

Views

Activity

Comment on `LanguageModelSession.respond()` never resolves in Beta 5
I am using beta 5 for both Xcode and OS. Tested on iPadOS and macOS, all working fine.
Replies
Boosts
Views
Activity
Aug ’25
Comment on textSelection does not work
Thanks! So the iOS/iPadOS is to select the whole Text, while the Mac can select a range of text. Get it, but it make the textSelection less useful as the Text is very long (output by Foundation Model).
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jul ’25
Comment on Asking about computers model always refer to apple.com?
It is not guardrail, just answers back from LLM. Actually the first question is about Apple II (but sometimes it answers).
Replies
Boosts
Views
Activity
Jul ’25
Comment on Unavailable error is wrong?
Yes,it is solved in beta 4.
Replies
Boosts
Views
Activity
Jul ’25
Comment on textSelection does not work
As in, you can't select the text?
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jul ’25
Comment on The answer of "apple" goes to guardrailViolation?
It works on beta 3... then error some other days. No OS changes.
Replies
Boosts
Views
Activity
Jul ’25
Comment on How do I avoid a platform?
Thanks! I didn't see the code, only the portion on ignoring the visionOS.
Replies
Boosts
Views
Activity
Jul ’25
Comment on How do I avoid a platform?
The code works fine for visionOS, just some part of the code.
Replies
Boosts
Views
Activity
Jul ’25
Comment on How to avoid the traffic light buttons on iPad
So far, the only solution I find is to rewrite the upper part of UI as a toolbar. Then it will go around the controls in toolbar. I am not aware of other ways.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Jul ’25
Comment on IPC error
Just normal using session.streamResponse(to: question, options: options), around the 4th session I got this error (typically I will go around 8/9th round before exceededContextWindowSize error).
Replies
Boosts
Views
Activity
Jul ’25
Comment on LanguageModelSession.GenerationError.exceededContextWindowSize not called
Not using streaming, I also got this error: InferenceError::inferenceFailed::Failed to run inference: Context length of 4096 was exceeded during singleExtend.. catch LanguageModelSession.GenerationError.exceededContextWindowSize still does not work.
Replies
Boosts
Views
Activity
Jul ’25
Comment on Does Vision Pro simulator works on Intel?
Thanks, after repeated testing, I can get Vision Pro simulator finally appear on my iMac 2017! However: first time I try, the UI is black and later appeared glitchy. 2nd time I try, the UI shows up but app takes a very long time to load. I have to give up doing Vision Pro development on Intel Mac for now.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’23
Comment on How to install Xcode 15?
I downloaded it the 2nd time zip came out. The rest not sure what's the need.
Replies
Boosts
Views
Activity
Jun ’23
Comment on SwiftUI TextEdit only supports left alignment
Unfortunately in beta 3 the issue is back.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’23