Xcode won't start, stuck on 'Verifying “Xcode”…'

前端 未结 17 1574
清酒与你
清酒与你 2020-12-07 07:22

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

相关标签:
17条回答
  • 2020-12-07 07:49

    You can try the command:

    xattr -r -d com.apple.quarantine /your_path_to_xcode/Xcode.app

    If you do not use -r, you will have to run the same command for the iOS simulator later on. I am not sure what other executables are hidden in this bundle and are quarantined.

    If you have time, the recommended method is to leave the verification to complete so that everything is verified properly.

    0 讨论(0)
  • 2020-12-07 07:52

    it's work for me:

    open Terminal cd to path Xcode.app
    xattr -d com.apple.quarantine Xcode.app
    
    0 讨论(0)
  • 2020-12-07 07:53

    running xattr -d com.apple.quarantine Xcode.app worked like a charm. Waiting on the "verifying xcode" didn't work, as it never completed.

    0 讨论(0)
  • 2020-12-07 07:58

    Running a command to get through Gatekeeper sounds like the way to go, since you downloaded it from a trusted source. This is a common occurrence when installing large bundles in Mac OS X. Basically, Gatekeeper examines your entire bundle, making sure that there is no suspicious code. This is one of the many things that keeps Mac OS X as secure as it is. You have two options:

    1: Give it time.

    Or,

    2: Manually tell Gatekeeper "It's okay, this is from a trusted source". How do we do this? Well, first fire up the Terminal and navigate to your Xcode.app folder. (Or type in cd and drag-and-drop Xcode from your applications folder), then hit enter. Next, run the command:

    xattr -d com.apple.quarantine Xcode.app
    

    Now, be careful getting past Gatekeeper if whatever you are installing is even slightly from an untrusted source, or else you introduce a security risk to your computer. In my case, opening new versions of Xcode quickly is the only time I will ever run that command.

    0 讨论(0)
  • 2020-12-07 08:00

    For Xcode 8: To skip the verifying process on El Capitan for Xcode 8, download Xcode 8 at the developer downloads page, then open terminal.

    Following this, type

    xattr -d com.apple.quarantine
    

    Then drag your xcode 8 download into your terminal window. It should look like this:

    0 讨论(0)
提交回复
热议问题