SBMainWorkspace — The request was denied by service delegate無法模擬器開啟app
Mar 27, 2024
(xcode, simulator, error handling)
M2安裝完Xcode 15.3
專案執行於模擬器上,一開啟後秒閃退,並且出現下面的錯訊圖
Simulator device failed to launch xxx. Domain: FBSOpenApplicationServiceErrorDomain Code: 1 Failure Reason: The request was denied by service delegate (SBMainWorkspace).
嘗試過重新從apple store安裝Xcode15.3、apple官網安裝Xcode15.3
但依然開APP就閃退
在Terminal下指令
softwareupdate - install-rosetta
當出現Type A and press return to agree:
“輸入a” 同意安裝
安裝完後,模擬器可以正常執行專案的APP