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?
['https://Stackoverflow.com/questions/62625506', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4083045/']
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.
This happened to me after moving my entitlements file from the root directory into the widget's directory. I tried [this answer](https://stackoverflow.com/a/62669069/467209) but the problem persisted.

I had to manually install the widget on the Home Screen. After that running from Xcode worked again.