Re: Xcode stalls, no UI, for first 5 minutes of first launch
Re: Xcode stalls, no UI, for first 5 minutes of first launch
- Subject: Re: Xcode stalls, no UI, for first 5 minutes of first launch
- From: Rainer Brockerhoff <email@hidden>
- Date: Sun, 07 Sep 2014 16:46:26 -0300
On 9/7/14, 16:00, email@hidden wrote:
> Date: Sun, 07 Sep 2014 11:15:04 -0700 From: Jerry Krinock
> <email@hidden> Message-ID:
> <email@hidden>
>
> After upgrading from Xcode 6 Beta 6 to Beta 7, upon launching it, an
> Xcode process starts, but shows no user interface until 5 minutes
> later, when a Gatekeeper dialog displays:
>
> “Xcode6-Beta7.app” is an application downloaded from the Internet.
> Are you sure you want to open it?
>
> I recall the same thing happening when I upgraded from Beta 5 to Beta
> 6.
>
> Lesson: Save yourself 5 minutes of head-scratching. Take a break
> after first launching a newly-installed Xcode.
>
> Here is a sample of the Xcode 6 process which I ran during that first
> 5 minutes… ... Call graph: 9341 Thread_1575805: Main Thread
> DispatchQueue_<multiple> 9341 _dyld_start (in dyld) + 0
> [0x7fff6deb1000]
>
> Total number in stack (recursive counted multiple, when >=5):
>
> Sort by top of stack, same collapsed (when >= 5): _dyld_start (in
> dyld) 9341
>
> Binary Images: 0x7fff6deb0000 - 0x7fff6dee6837 dyld (0.0 - ???)
> <D1B75623-312E-30C7-A2AC-5C2E5D18453A> /usr/lib/dyld
As you can see from the sample, the process hasn't even started yet.
It's just dyld waiting for Gatekeeper to perform a recursive check of
Xcode's (and all many thousands of contained binaries') code signatures.
Xcode is an extreme outlier in this regard - a normal app would take a
few seconds.
To bypass this check, either use my RB App Quarantine utility (which
itself will take about two minutes to loop through all hundreds of
thousands of contained items to turn the quarantine flag off) or, in
Terminal, type
xattr -d com.apple.quarantine Xcode6-Beta7.app
which will, however, not clear quarantine for internal apps.
Also see:
https://twitter.com/objectivec/status/507275237155536896
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."
http://brockerhoff.net/blog/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden