I\'ve installed Xcode on a mac and when I try to start it I get a little window open saying \'Verifying Xcode\' with a status bar scrolling across, anyone got a fix rather t
I had same issue. Quick fix is to open terminal
from application or type terminal in spotlight and enter below command.
cd /Applications
- This will move to applications directory where Xcode is present
xattr -d com.apple.quarantine Xcode.app
- This will bypass Gatekeeper in OS X and will launch Xcode quickly
Note: If you have changed name of Xcode (say Xcode7-1) then you should enter ... Xcode7-1.app command. Refer screenshot
anyone got a fix rather than me reinstalling?
For anyone else seeing a very long "Verifying Xcode" phase, just give it time. The indeterminate progress bar stays up there for a long time (tens of minutes) while Gatekeeper looks at the (very large) Xcode bundle to make sure that it's legit. Eventually, you'll get the familiar message along the lines of "This application was downloaded from the Internet. Do you want to continue?" Or, if the bundle doesn't check out, you'll of course get a message to that effect.
open terminal -
1.Type cd drag drop your xcode (for path) then enter
2.next xattr -d com.apple.quarantine Xcode.app enter
agree for terms and condition
Its November 2017 now and still no confirmation message - just a non moving verifying "Xcode_9.1xip" which sits on your desktop with no indication of it is doing anything at all.
I tried this fix, hit Expensive Apple multiple times, Google search too understand why Expensive Uber machine is operating in a fashion which has always been unacceptable (and would be lambasted on a PC from Mac Users). Make Cup of tea, hit keyboard more, search key terms relating to Expensive Apple machine using expletives to find out how many others are experiencing your problem or similar.
After 20 minutes consider going for a poop come back twiddle thumbs, read more forum posts - consider thumping keyboard some more times - be aware at this point you could be reported for abuse under the Apple care policy.
Eventually it worked, Then find next stumbling block in long drawn out process which means you will not get any productivity today at all, repeat whole process again this time round whilst banging head against wall.
Expecting this to be flagged in 0-30 seconds for deletion :) 09:43am GMT
Almost every answer here recommends running xattr -d
on the file. This deletes the file's extended attributes (like com.apple.quarantine) so OSX will not run the verification phase. You should only do this as an absolute last resort if at all. Apple explicitly recommends leaving Gatekeeper enabled to validate your version of Xcode after XcodeGhost malware was spread to popular iOS apps via infected versions of Xcode.
If you're stuck trying unarchive an Xcode beta .xip archive, try this:
Run the following command making sure this is your Xcode's location on the system & replace the xcode name with actual name which code be xcode2 or Xcode 3 incase if you have more versions of Xcode on your machine.. All the best ..
xattr -d com.apple.quarantine Xcode.app