Hi there
While developing a new widget with WidgetKit, my app crashes almost immediately every time I launch the extension with the error "[NSXPCDistantObject _nsxpingHost:]: unrecognized selector sent to instance"
Does anyone else have this problem? Is this due to the Xcode beta?
Thanks!
Post
Replies
Boosts
Views
Activity
Hello
Assuming I want to create a Live Activity where I already know that the content is going to change after e.g. 10 minutes, at which time I need to do a HTTP request to update the content. I can't expect the user to open the app during this time.
What would be the best way to do this? Is it possible to schedule a activity.update(...) within a background thread?
Thanks for your help,
Bastian
Hi,
Are Live Activity .update() calls guaranteed to be scheduled right away, and if yes, are there any rate limits? In our app, for example, we track the users gps position and want to display the users distance walked so far, thus refreshing the activity every few seconds if possible.
Best,
Bastian
Hi there,
Since a couple days ago (without updating my Xcode version), Xcode (Version 12.3 (12C33)) won't display any errors anymore in the editor and the issue navigator. It still shows them in the Report Navigator though.
I tried restarting my MacBook, Xcode, removing the Xcode caches and Derived Data, but nothing seems to help unfortunately.
Are there any workarounds to this (rather annoying) issue?