Widgets & Live activities debug install dosen't work

Hi everyone,

Like so many before me, i tried to install my app to test widgets, live activities & dynamic island implementation on a real device or on the simulator (neither works). The problem is that when I try to run the project I get this message :

"SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 "Failed to show Widget 'fr.example.LiveActivities.LiveWidget' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace).

[......]".

The first thing I tried was looking on Apple's forum and StackOverflow for a solution but after 1hour trying almost eveyrthing, nothing seemed to resolve my problem.

Does anyone has an idea of how I could try to fix it ? I would love to show this project in my portfolio in order to find an apprenticeship, but I can't until I find a way to fix this.

Thanks a lot!

I had this issue with one simulator once. I think it was the iPhone pro max.

Then I tried other simulators like iPhone 15, etc and it worked in that cases.

It's more like a workaround but did you try other simulators?

The way I resolved the problem is the following:

In "Products -> Schemes -> Manage Schemes", I created a new scheme with the application instead of the widget extension (which was the default scheme made by Xcode). When I built with this scheme, no error showed up. I think it solved the problem, I just can't test it right now because my developer license isn't activated yet.

Thanks to Jackson-G for the help!

Widgets & Live activities debug install dosen't work
 
 
Q