Post

Replies

Boosts

Views

Activity

Reply to Set openAppWhenRun variable in AppIntent programatically.
As far as I can see openAppWhenRun is static, and is read and opens the app even before perform() is run (if openAppWhenRun is true that is). In other words, openAppWhenRun can not be dynamic. Your variable myNumber is always false at the time the App Intent is run so that is why your app never opens. It would be interesting to see where you set, and changed, the myNumber variable.
Topic: App & System Services SubTopic: General Tags:
Jan ’23
Reply to Set openAppWhenRun variable in AppIntent programatically.
As far as I can see openAppWhenRun is static, and is read and opens the app even before perform() is run (if openAppWhenRun is true that is). In other words, openAppWhenRun can not be dynamic. Your variable myNumber is always false at the time the App Intent is run so that is why your app never opens. It would be interesting to see where you set, and changed, the myNumber variable.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Invalid code signature problem with Xcode12
Quitting Xcode and opening again. Restarting the phone. Cleaning the project from Project menu and selecting Clean Build Folder Once I did all these things, it fixed the issue for me. Sometimes it's the simple things.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Mac Catalyst can't schedule local notifications
I can select a UICollectionView cell in Mac Catalyst. Local notifications also work. I'm running Big Sur, and maybe things have improved in a year.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’21