Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to get descriptors for extensionBundleID

Tags:

xcode

swift

ios14

After adding an extension target to Xcode project and trying to run it on iOS 14, I'm getting an error:

SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 "Failed to show Widget '***' error: Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (***)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (***)}." UserInfo={NSLocalizedDescription=Failed to show Widget '***' error: Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (***)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (***)}., NSUnderlyingError=0x7f9bac015910 {Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (***)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (***)}}} Domain: DTXMessage Code: 1

Any idea what is going wrong?

like image 426
Vladyslav Zavalykhatko Avatar asked Jun 28 '20 16:06

Vladyslav Zavalykhatko


3 Answers

I resolved this problem. Clean Builder Folder(maybe it's not necessary), then restart your iPhone. Run your project again.

like image 86
SuperDJ Avatar answered May 27 '23 15:05

SuperDJ


For me the problem was the excluded arm64 architecture for any iOS simulator on the widget target build settings (Added because of my M1 development device).

When removing this excluded architecture, the widget is running without any problem.

like image 41
obit Avatar answered May 27 '23 15:05

obit


For me it was that my device was on iOS 14.1 and the Deployment Target was set to 14.3 for the widget target. The solution was to update the Deployment Target to match your device or lower. The Deployment Target setting is in the General tab and under Deployment Info (in my case I set it to 14.0).

like image 26
Cody Avatar answered May 27 '23 16:05

Cody