Is anyone else having an issue where after installing Xcode 7 GM it asks you to accept the agreements and it won't open after that ?
Xcode 7 GM Not running after agreement
Hi, I am having the same issue I believe. It takes quite a lot of time to verify it when first launching it then, it just does not open. I can see however it the tasks and kill it, but the app just does not open .
Hi,
I would suggest to leave the app window hang for about 30-40 minutes. It helped me 2 times on 2 different El Capitan betas with 2 different Xcode 7 betas.
If Xcode doesn't behave as you'd expect after the gatekeeper verification has completed, please grab a sysdiagnose report and attach it to a new bug report (using the Report Bugs link at the bottom of this page). Thanks!
Having the same issue on Yosemite. I click on 'Agree' when the license agreement shows and then it hangs - forever. I can see an Xcode 'call stack' dump in Console too, something to do with [NSThemeFrame addSubview]
Would be great if you could also file a bug report, as per my instructions above. Thanks!
Thanks. Done.
Please joar - kindly ask whoever is responsible to speed this up. Can't believe it's GM and failing to even launch. While I have your attention, please can we have an official response for this? https://forums.developer.apple.com/thread/17044
TestFlight beta isn't working with GM and it's imperitive we test our apps before iOS 9 is ready.
Found what I thought was a fix. Open Terminal and type in the following:
sudo xcodebuild -license
Although this removes the license dialog, it then gets stuck on the 'Install additional required components' dialog. Great.
Filed a bug report yet? The sysdiagnose shoudl give us a good chance at figuring out what you're running into. If you post the id of the new bug report here, I might be able to offer suggestions for how to work around whatever you're running into.
Yes I did immediately. Bug ID 22646587. It includes sysdiagnose.
I even tried installig Commandline toosl for 10.10 separetly and it hangs when I click 'install' so no luck.
Thanks for the bug report. I've looked at it, but couldn't immediately see what was wrong. I've passed it along to the Xcode team that should take a closer look.
I did notice from the system log that you had removed one third-party plug-in. You should remove all remaining third-party plug-ins, as they're all unsupported and quite likely can cause issues like this one.
The backtrace in the spindump suggests that the authorization dialog is being presented. Are you not seeing it? Is it showing up behind something else, or on a different monitor/screen/space?
Nope, not seeing anything. And yes I did uninstall all plugins. I am on a Macbook pro with a single screen, nothing attached to it.
Thanks for sharing that info with me! I just logged out, logged into another Admin account, fired up Xcode from there and it did indeed ask me for a login/pass! I entered those and voila! It's now working.
Super, weird how it wouldn't show me a dialog for the account I was logged in with.
That's weird - but I'm happy that you could work around the problem. If you have a minute, please add this information to your bug report. Thanks!
Xcode uses an XPC service with root privildges to agree to the license and install packages. This does exactly what you mentioned:
`sudo xcodebuild -license`
However, launchd will not load the XPC service if the code signature of Xcode is broken. 3rd party plugins are a likely culprit here.
To verify that your copy of Xcode is not damaged, please run
codesign -v --verbose=4 --deep --strict Xcode.app
If the code signature is broken, please delete Xcode and install it again.
The Xcode team will attempt to detect this in the future so that it doesn't hang, and give proper instructions to get past the issue.