Programming

Xcode가 시작되지 않고 'Xcode 확인 중…'에 멈춤

procodes 2020. 7. 10. 21:45
반응형

Xcode가 시작되지 않고 'Xcode 확인 중…'에 멈춤


Mac에 Xcode를 설치했으며 시작하려고 할 때 상태 표시 줄이 스크롤되는 'Xcode 확인 중'이라는 작은 창이 열리면 누구나 다시 설치하는 대신 수정 프로그램이 있습니까?


영원히 기다리지 않으려면 다음이 도움이 될 수 있습니다.

xattr -d com.apple.quarantine '/Applications/Xcode.app'

신뢰할 수있는 출처 에서 명령을 다운로드 했으므로 Gatekeeper를 통과하는 명령을 실행하는 방법이 있습니다. Mac OS X에서 큰 번들을 설치할 때 일반적으로 발생합니다. 기본적으로 Gatekeeper는 전체 번들을 검사하여 의심스러운 코드가 없는지 확인합니다. 이것은 Mac OS X을 안전하게 유지하는 많은 것 중 하나입니다. 두 가지 옵션이 있습니다.

1 : 시간을 줘.

또는,

2 : 게이트 키퍼에게 수동으로 알려주십시오. 우리는 이것을 어떻게합니까? 음, 첫 번째 화재 귀하의 Xcode.app 폴더에 터미널 위로 이동합니다. (또는 cd응용 프로그램 폴더에서 Xcode를 입력 하고 드래그 앤 드롭) Enter 키를 누르십시오. 다음 명령을 실행하십시오.

xattr -d com.apple.quarantine Xcode.app

당신이 무엇을 설치하는 경우에도 경우 이제 게이트 키퍼를지나 점점 조심 약간 신뢰할 수없는 소스에서, 또는 다른 컴퓨터에 보안 위험을 소개합니다. 필자의 경우 새로운 버전의 Xcode를 빨리 여는 것이 그 명령을 실행할 유일한 시간입니다.


누구든지 다시 설치하는 대신 수정 프로그램을 받았습니까?

매우 긴 "Verifying Xcode"단계를 보는 다른 사람에게는 시간을 주면됩니다. 게이트 키퍼가 (매우 큰) Xcode 번들을보고 합법적인지 확인하는 동안 불확실한 진행 표시 줄이 오랜 시간 (수십 분) 동안 유지됩니다. 결국 "이 응용 프로그램은 인터넷에서 다운로드되었습니다. 계속 하시겠습니까?"라는 메시지가 표시됩니다. 또는 번들이 체크 아웃되지 않으면 물론 해당 효과에 대한 메시지가 표시됩니다.


거의 모든 대답 xattr -d은 파일에서 실행 하는 것이 좋습니다 . 이렇게하면 파일의 확장 된 속성 (예 : com.apple.quarantine)이 삭제되므로 OSX는 확인 단계를 실행하지 않습니다. 당신은 절대적으로 최후의 수단으로 이것을해야합니다. Apple XcodeGhost 맬웨어 가 감염된 Xcode 버전을 통해 널리 사용되는 iOS 앱으로 확산 된 후 Gatekeeper를 활성화하여 Xcode 버전의 유효성을 검사 할 것을 권장 합니다 .

Xcode 베타 .xip 아카이브를 보관 취소하려는 경우 다음을 시도하십시오.

  1. 보관 유틸리티 앱을 엽니 다. (⌘ + 스페이스 바를 누르고 "Archive Utility"를 입력하여 Finder를 엽니 다)
  2. File-> Expand Archive를 선택하고 Xcode 아카이브를 선택하십시오.

나는 같은 문제가 있었다. 빠른 수정은 terminal스포트라이트로 응용 프로그램 또는 유형 터미널에서 열고 아래 명령을 입력하는 것입니다.

cd /Applications -Xcode가있는 응용 프로그램 디렉토리로 이동합니다

xattr -d com.apple.quarantine Xcode.app -OS X에서 Gatekeeper를 무시하고 Xcode를 빠르게 시작합니다.

참고 : Xcode 이름 (예 : Xcode7-1)을 변경 한 경우 ... Xcode7-1.app 명령을 입력해야합니다. 스크린 샷 참조

명령 스크린 샷


열린 터미널-

1. cd drag drop xcode (경로)를 입력 한 다음

2. 다음 xattr -d com.apple.quarantine Xcode.app enter

이용 약관에 동의하다


Xcode 8의 경우 : Xcode 8 용 El Capitan에서 확인 프로세스를 건너 뛰려면 개발자 다운로드 페이지에서 Xcode 8을 다운로드 한 다음 터미널을 엽니 다.

다음에

xattr -d com.apple.quarantine

그런 다음 xcode 8 다운로드를 터미널 창으로 드래그하십시오. 다음과 같아야합니다.

Xcode 8 설치 이미지


Gatekeeper에서 Xcode-beta.app를 면제하는 것에 대해 많은 이야기를하지만, .xip 파일을 면제해야했습니다.

Xcode_8_beta_6.xip을 / Applications에 배치 한 다음 터미널에서 디렉토리를 / Applications로 변경하고 실행했습니다.

xattr -d com.apple.quarantine Xcode_8_beta_6.xip

그런 다음 .xip을 두 번 클릭하여 압축을 풉니 다.


달리기 xattr -d com.apple.quarantine Xcode.app는 매력처럼 일했습니다. "verifying xcode"완료되지 않았기 때문에 기다리는 것이 효과가 없었습니다.


또한 터미널의 명령을 통해 전체 디렉토리 응용 프로그램에 대한 경고 열기를 제거 할 수 있습니다.

xattr -d -r com.apple.quarantine ~/Applications

당신은 명령을 시도 할 수 있습니다 :

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

-r을 사용하지 않으면 나중에 iOS 시뮬레이터에 대해 동일한 명령을 실행해야합니다. 이 번들에 숨겨진 다른 실행 파일이 무엇인지 확실하지 않습니다.

시간이 있다면 권장되는 방법은 모든 것이 올바르게 확인되도록 확인을 완료하는 것입니다.


그것은 나를 위해 일합니다 :

open Terminal cd to path Xcode.app
xattr -d com.apple.quarantine Xcode.app

I had the same issue (Macbook Pro, Mid 2015, OS X 10.11.15) and was able to fix it without using the terminal to bypass Gatekeeper:

  1. Trash all previously downloaded versions of the file and empty the trash. (If you haven't emptied your trash in forever this may take a long time. You can selectively delete the offending .xip files manually to save time.) I found multiple instances that would not delete because they were currently in use.

  2. Restart your computer. Now you should be able to delete any .xip files in the trash without issue.

  3. Download the Xcode8 beta again (don't stream media while doing this to save on time and packet loss.) and open it.

  4. If this doesn't do the trick, open up terminal and follow one of the answers above.


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


Just wait for process to get over with.. sometimes it takes longer than the usual time but ends up showing the alert boxes for next process! sit back let it finish. :)


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.

삭제를 위해 0-30 초 안에 플래그가 지정 될 것으로 예상됩니다. :) 09:43 am GMT

참고 URL : https://stackoverflow.com/questions/25996484/xcode-wont-start-stuck-on-verifying-xcode

반응형