update_xcode_plugins icon indicating copy to clipboard operation
update_xcode_plugins copied to clipboard

Xcode 10 stuck while trying to launch app (tccd process)

Open absolutlabs opened this issue 7 years ago • 7 comments

Hello

After unsigning, Xcode fail to launch the app on the simulator. It's stuck (/frozen) on "Waiting for iPhone .. to start / Attaching to .. on iPhone .. ". I then need to "force quit" to stop xcode.

screen_1

I found that the tccd process is around 100%, sometimes even more, which is not the case when not unsigning.

screen_2

It appears on both Xcode 10.0 and Xcode 10.1 beta. (macos mojave)

I tried to check / uncheck the permission for xcode to access the contacts, it didn't help as it did with previous versions :/

Note : It works fine when launching app on device, even if the tccd process is high too.

absolutlabs avatar Sep 25 '18 06:09 absolutlabs

Same issue. It reproduces only in macOS Mojave. But there is no need to force quite Xcode. After some time (5-10 minutes) application launches in simulator and after that application launches fine on reruns.

nayzak avatar Sep 27 '18 11:09 nayzak

I just successfully unsigned Xcode 10 using the install script of https://github.com/wakatime/xcode-wakatime . Everything works (or seems to work) fine

absolutlabs avatar Sep 28 '18 16:09 absolutlabs

I also unsigned Xcode using sudo codesign -f -s with self signed certificate, it did not help.

nayzak avatar Sep 29 '18 09:09 nayzak

The error that I found with tccd is:

error 09:56:34.309918 +0900 tccd Failed to copy signing info for 24646, responsible for file:///Applications/Xcode.app/Contents/MacOS/Xcode: #-67062: Error Domain=NSOSStatusErrorDomain Code=-67062 "(null)"

It seems not having a code signature is a no-go with the new macOS permissions database (tccd).

As @absolutlabs mentioned, codesigning it with a self-signed certificate will get it to work fine.

inket avatar Oct 03 '18 18:10 inket

@absolutlabs Works for me.

Ycong avatar Oct 10 '18 07:10 Ycong

does anyone solve it?

showtestlog avatar Apr 22 '19 09:04 showtestlog

The error that I found with tccd is:

error 09:56:34.309918 +0900 tccd Failed to copy signing info for 24646, responsible for file:///Applications/Xcode.app/Contents/MacOS/Xcode: #-67062: Error Domain=NSOSStatusErrorDomain Code=-67062 "(null)"

It seems not having a code signature is a no-go with the new macOS permissions database (tccd).

As @absolutlabs mentioned, codesigning it with a self-signed certificate will get it to work fine.

May I know where did you get this log?

Adamus7 avatar Aug 21 '19 03:08 Adamus7