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

前端 未结 17 1721
清酒与你
清酒与你 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:48

    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:

    1. Open the Archive Utility app. (Open Finder by hitting ⌘+spacebar and type "Archive Utility")
    2. Choose File->Expand Archive and select the Xcode archive.

提交回复
热议问题