Programming

OSX의 Xcode를 최신 버전으로 어떻게 업데이트합니까?

procodes 2020. 6. 2. 21:59
반응형

OSX의 Xcode를 최신 버전으로 어떻게 업데이트합니까?


OSX에서 Xcode를 업데이트하는 가장 쉬운 방법은 무엇입니까?

터미널에서 이것을 봅니다.

$ brew install xxxxxxx
Warning: Your Xcode (4.3.3) is outdated
Please install Xcode 4.6.

그러나 내가 열 때 Xcode > Preferences > Downloads업데이트가 없다고 표시됩니까?


  1. App Store를 엽니 다

    여기에 이미지 설명을 입력하십시오

  2. 오른쪽 상단에서 업데이트 섹션을 찾으십시오.

    여기에 이미지 설명을 입력하십시오

  3. Xcode 찾기 및 업데이트 클릭 여기에 이미지 설명을 입력하십시오


softwareupdate --list 오래된 소프트웨어 목록을 참조하십시오.

softwareupdate --install --all 오래된 소프트웨어를 모두 업데이트하십시오.

softwareupdate --install <product name> 지정한 소프트웨어를 업데이트하십시오.


언젠가 나는의 엑스 코드 업데이트되지 Updates tab에서 AppStore
내가 앱 스토어에서 엑스 코드를 검색 그래서여기에 이미지 설명을 입력하십시오

그런 다음 업데이트를 클릭하면 업데이트됩니다.


필자의 경우 (Xcode 6.1, iOS 8.2) AppStore에서 업데이트를 보지 못했습니다. 다운로드 용 Xcode 6.2를 발견하고 "설치"를 누릅니다. 그런 다음 업데이트를 설치하고 요청했습니다 (2Gb 이상). Xcode 6.2는 iOS 8.2 및 iOS 8.1.2에서 올바르게 작동합니다.

이 팁이 다른 사람을 도울 수 있기를 바랍니다.


여기에 이미지 설명을 입력하십시오

App Store를 통해 다운로드하려고하면 약간의 회색 회전자가 발생하고 실제로 아무 일도 일어나지 않으면 다음으로 이동할 수 있습니다.

https://developer.apple.com/download/more/

Apple 개발자 ID로 로그인하면 최신 Xcode가 .zip 다운로드로 제공됩니다.


최신 베타를 원하면 AppStore에 없습니다. 대신 https://developer.apple.com 에 로그인하여 거기에서 다운로드 해야합니다 .


나도이 버거를 만났다.

이전 버전의 Xcode (ios 9.2와 호환되지 않음)를 실행 중이므로 업데이트해야했습니다.

나는 이것에 몇 시간을 보냈고 앱 스토어에서 끊임없이 죽음의 바퀴를 받고있었습니다. 아무것도 효과가 없었습니다. OSX를 업데이트하고 CLI 소프트웨어 업데이트를 시도했습니다.

궁극적으로 AppZapper를 다운로드 한 다음 XCode를 nuk했습니다.

I went into the app store to download and it still didn't work. Then I rebooted.

And from here I could finally upgrade to a fresh version of xcode.

WARNING: AppZapper can delete all your data around Xcode as well, so be prepared to start from scratch on your profiles, keys, etc. Also per the other notes here, of course be ready for a 3-5 hour long downloading expedition...


Another best way to update and upgrade OSX development tools using command line is as follows:

Open terminal on OSX and type below commands. Try 'sudo' as prefix if you don't have admin privileges.

brew update

and for upgrading outdated tools and libraries use below command

brew upgrade

These will update all packages like node, rethinkDB and much more.

Also, softwareupdate --install --all this command also work best.

Important: Remove all outdated packages and free some space using the simple command.

brew cleanup

나는를 사용 Command_Line_Tools_OS_X_10.XX_for_Xcode_7.2.dmg했기 때문에 여기 에서 최신 버전을 다운로드해야했습니다 .


Xcode를 업그레이드 할 필요는 없습니다.

그냥 파일을 열고 /usr/local/Homebrew/Library/Homebrew/extend/os/mac/diagnostic.rb,

check_xcode_minimum_version다음 함수 에서이 줄을 제거하십시오 .

def fatal_build_from_source_checks
    %w[
      check_xcode_license_approved
      check_xcode_minimum_version //<-- this one
      check_clt_minimum_version
      check_if_xcode_needs_clt_installed
    ].freeze
    end

그렇다면 brew install잘 작동합니다.

참고 URL : https://stackoverflow.com/questions/15417619/how-do-you-update-xcode-on-osx-to-the-latest-version

반응형