๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๐ŸŽ iOS/Error Handling

[Error, Xcode] Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service ~ was invalidated: ํ•ด๊ฒฐํ•˜๊ธฐ

Xcode ์—๋Ÿฌ
Error Domain=NSCocoaErrorDomain Code=4099  "The connection to service ~ was invalidated:
ํ•ด๊ฒฐํ•˜๊ธฐ!


[ERROR]

[Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}

 

์œ„ ๋กœ๊ทธ๋กœ ๋นŒ๋“œ๊ฐ€ ์•ˆ๋˜๋Š” ๊ฒƒ์€ ์•„๋‹ˆ์ง€๋งŒ, ๋กœ๋”ฉ์— ์ง€์—ฐํ˜„์ƒ์ด ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

๋”ฐ๋ผ์„œ, ios ์•ฑ ์‹ฌ์‚ฌ ์š”์ฒญ ์‹œ ์‹ฌ์‚ฌ๋‹ด๋‹น์ž๋Š” ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๋กœ ํ…Œ์ŠคํŠธํ•˜์—ฌ ๋กœ๋”ฉ์ด ์ง€์—ฐ๋˜๋ฉด ๋ฆฌ์ ์„ ๊ฑฐ๋Š” ๊ฒฝ์šฐ๊ฐ€ ๋ฐœ์ƒ.

 

 


[Solution]

Product > Scheme > Edit Scheme

 

Run > Arguments  > Enviroment Variables ํ•ญ๋ชฉ์—์„œ ์•„๋ž˜ ์ด๋ฆ„๊ณผ ๊ฐ’์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค!

//name
OS_ACTIVITY_MODE
//value
disable

 

 

 

728x90
๋ฐ˜์‘ํ˜•