Post

Replies

Boosts

Views

Activity

Widget Extension not work on simulator on MAC M1
I just created a simple app + simple widget (just from Xcode template, no change any thing) When run the Widget, I got error: Details SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 "Failed to show Widget 'blog.laomuc.TestWidget.ABCWidget' error: Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (blog.laomuc.TestWidget.ABCWidget)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (blog.laomuc.TestWidget.ABCWidget)}." UserInfo={NSLocalizedDescription=Failed to show Widget 'blog.laomuc.TestWidget.ABCWidget' error: Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (blog.laomuc.TestWidget.ABCWidget)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (blog.laomuc.TestWidget.ABCWidget)}., NSUnderlyingError=0x600002ab4690 {Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (blog.laomuc.TestWidget.ABCWidget)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (blog.laomuc.TestWidget.ABCWidget)}}} Domain: DTXMessage Code: 1 System Information macOS Version 11.6 (Build 20G165) Xcode 13.0 (19234) (Build 13A233) Timestamp: 2021-11-08T16:30:18+07:00 My MAC M1, 2020 I tried to build on my iPhone, it worked well. Please help!
1
0
1.8k
Nov ’21