I had write a widget after iOS 17+, It had a Toggle to perform a appintent . When switch the toggle, the appintent will perfrom , just like
` func perfrom() async throws -> some IntentResult {
// first
let first = try await getFristValue()
let second = try await getSecondValue(by: first)
let third = try awiat getThirdValue(by: second)
return .result()
} ` and I found, it will work when I am debugging connect with Xcode. But, when I don't connect xcode, it will not work.
How can I fixed it ?