Xcode 13.0, M1 cpu
On M1 cpu, at least "Widget" and "Watch" extensions don't work when Xcode is running in Rosetta.
I did a tiny experiment with a test iOS app with a simple widget (the default templates generated by Xcode) - if Xcode is running in Rosetta when the test app is created, it will not work; if I disable Rosetta for Xcode and run again the test project, the widget is working fine.
Is there any workaround? We are blocked... Thank you!
SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 "Failed to show Widget 'com.tibi.TestExt3.Ext3Widget' error: Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (com.tibi.TestExt3.Ext3Widget)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (com.tibi.TestExt3.Ext3Widget)}." UserInfo={NSLocalizedDescription=Failed to show Widget 'com.tibi.TestExt3.Ext3Widget' error: Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (com.tibi.TestExt3.Ext3Widget)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (com.tibi.TestExt3.Ext3Widget)}., NSUnderlyingError=0x6000015704e0 {Error Domain=SBAvocadoDebuggingControllerErrorDomain Code=1 "Failed to get descriptors for extensionBundleID (com.tibi.TestExt3.Ext3Widget)" UserInfo={NSLocalizedDescription=Failed to get descriptors for extensionBundleID (com.tibi.TestExt3.Ext3Widget)}}}
Domain: DTXMessage
Code: 1