그래오늘은이거야

iOS Widget Xcode Setting Debug Debugging Scheme not working not work 본문

세상 개발/IOS(Swift)

iOS Widget Xcode Setting Debug Debugging Scheme not working not work

jinhongstar 2022. 12. 20. 17:31
728x90
반응형

https://stackoverflow.com/questions/63451273/failed-to-launch-home-screen-widget-in-ios-14-simulator

 

Failed to launch home screen widget in iOS 14 Simulator

Error Details: SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 "Failed to show Widget 'com.anupam.iOS14Feature.widgetExtension'

stackoverflow.com

 

Unable to launch kr.co.xxxx.xxxx.xxxx.widget

 

Same Issue

 

위젯이 디버깅이 안될때

 

SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceproce…

 

endProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 "Failed to show Widget 'kr.co.xxxx.xxxx.xxxx.widget' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedDescription=The request to open "com.apple.springboard" failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x11fd0d600 {Error Domain=BSServiceConnectionErrorDomain Code=3 "XPC error received on message reply handler" UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}." UserInfo={NSLocalizedDescription=Failed to show Widget 'kr.co.xxxx.xxxx.xxxx.widget' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedDescription=The request to open "com.apple.springboard" failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x11fd0d600 {Error Domain=BSServiceConnectionErrorDomain Code=3 "XPC error received on message reply handler" UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}., NSUnderlyingError=0x11fd0e140 {Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedDescription=The request to open "com.apple.springboard" failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x11fd0d600 {Error Domain=BSServiceConnectionErrorDomain Code=3 "XPC error received on message reply handler" UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}}}

Domain: DTXMessage

Code: 1

User Info: {

    DVTErrorCreationDateKey = "2022-12-20 08:28:15 +0000";

}

--

 

System Information

 

macOS Version 13.1 (Build 22C65)

Xcode 14.2 (21534) (Build 14C18)

Timestamp: 2022-12-20T17:28:15+09:00

 

https://developer.apple.com/forums/thread/660610

 

Running com.apple.springboard for … | Apple Developer Forums

Hi, Xcode 12 (betas 1-6 and the official one that was released yesterday) macOS 11.0 I have been trying to add a new WidgetKit Extension Target to an existing app, but after it builds successfully, the active scheme continues to read "Running com.apple.spr

developer.apple.com

I was struggling with the same issue, after two days of research, what i found is

  1. WidgetKit Extension needs to be on different bundle identifier.
  2. You need to create different certificates specific for widget.
  3. Check if widget extension is present in your dependency inside main target build phases.

Still if you struggle you need to start with fresh app.

 

정답은 Bundle IDentifier 설정이 제대로 맞지 않으면 디버깅이 되지 않습니다.

failed to show widget com.apple.springboard

 

 

반응형
Comments