GitHub Hot Board

GitHub Hot Board · 저장소 아카이브

swiftlang/swift

The Swift Programming Language (소개는 저장소 자체 문서에서 왔습니다.)

데이터 기준 October 26swiftlang

최고 순위

#93

논란 지수 · 호불호 갈림

71K

누적 스타

11K

포크 수

3

최근 30일 기록 일수

등재 3일 · 최근 30일 +1 스타 · 일평균 +0연속 3일 등재

프로젝트 상태라이선스: Apache-2.0최근 push: October 25열린 이슈(PR 포함): 9.5K

2026-10-25부터 수집. 미확인 = 아직 미수집

README에 뱃지를 붙여보세요 · swiftlang/swift[![README에 뱃지를 붙여보세요](https://git.vaiox.xyz/api/badge/swiftlang/swift.svg)](https://git.vaiox.xyz/ko/repo/swiftlang/swift)
<a href="https://git.vaiox.xyz/ko/repo/swiftlang/swift"><img src="https://git.vaiox.xyz/api/badge/swiftlang/swift.svg" alt="README에 뱃지를 붙여보세요" height="20"></a>

프로젝트 문서

Swift logo

Swift Programming Language

Welcome to Swift

Swift is a high-performance system programming language. It has a clean and modern syntax, offers seamless access to existing C and Objective-C code and frameworks, and is memory-safe by default.

Although inspired by Objective-C and many other languages, Swift is not itself a C-derived language. As a complete and independent language, Swift packages core features like flow control, data structures, and functions, with high-level constructs like objects, protocols, closures, and generics. Swift embraces modules, eliminating the need for headers and the code duplication they entail.

To learn more about using the language, visit swift.org. To learn more about the compiler's internal design, see the documentation index.

Contributing to Swift

Contributions to Swift are welcomed and encouraged! Please see the Contributing to Swift guide.

Before submitting the pull request, please make sure you have tested your changes and that they follow the Swift project guidelines for contributing code.

To be a truly great community, Swift.org needs to welcome developers from all walks of life, with different backgrounds, and with a wide range of experience. A diverse and friendly community will have more great ideas, more unique perspectives, and produce more great code. We will work diligently to make the Swift community welcoming to everyone.

To give clarity of what is expected of our members, Swift has adopted the code of conduct defined by the Contributor Covenant. This document is used across many open source communities, and we think it articulates our values well. For more, see the Code of Conduct.

Getting Started

If you are interested in:

We also have an FAQ that answers common questions.

Swift Toolchains

Building

Swift toolchains are created using the script build-toolchain. This script is used by swift.org's CI to produce snapshots and can allow for one to locally reproduce such builds for development or distribution purposes. A typical invocation looks like the following:

  $ ./swift/utils/build-toolchain $BUNDLE_PREFIX

where $BUNDLE_PREFIX is a string that will be prepended to the build date to give the bundle identifier of the toolchain's Info.plist. For instance, if $BUNDLE_PREFIX was com.example, the toolchain produced will have the bundle identifier com.example.YYYYMMDD. It will be created in the directory you run the script with a filename of the form: swift-LOCAL-YYYY-MM-DD-a-osx.tar.gz.

Beyond building the toolchain, build-toolchain also supports the following (non-exhaustive) set of useful options:

  • --dry-run: Perform a dry run build. This is off by default.
  • --test: Test the toolchain after it has been compiled. This is off by default.
  • --distcc: Use distcc to speed up the build by distributing the C++ part of the swift build. This is off by default.
  • --sccache: Use sccache to speed up subsequent builds of the compiler by caching more C++ build artifacts. This is off by default.

More options may be added over time. Please pass --help to build-toolchain to see the full set of options.

Installing into Xcode

On macOS if one wants to install such a toolchain into Xcode:

  1. Untar and copy the toolchain to one of /Library/Developer/Toolchains/ or ~/Library/Developer/Toolchains/. E.g.:
  $ sudo tar -xzf swift-LOCAL-YYYY-MM-DD-a-osx.tar.gz -C /
  $ tar -xzf swift-LOCAL-YYYY-MM-DD-a-osx.tar.gz -C ~/

The script also generates an archive containing debug symbols which can be installed over the main archive allowing symbolication of any compiler crashes.

  $ sudo tar -xzf swift-LOCAL-YYYY-MM-DD-a-osx-symbols.tar.gz -C /
  $ tar -xzf swift-LOCAL-YYYY-MM-DD-a-osx-symbols.tar.gz -C ~/
  1. Specify the local toolchain for Xcode's use via Xcode->Toolchains.

Build Failures

Try the suggestions in Troubleshooting build issues.

Make sure you are using the correct release of Xcode.

If you have changed Xcode versions but still encounter errors that appear to be related to the Xcode version, try passing --clean to build-script.

When a new version of Xcode is released, you can update your build without recompiling the entire project by passing --reconfigure to build-script.

현재 순위

  • 287

    종합 랭킹 · 역대 최강

    71K 스타 · 11K fork · 총 스타 수

    종합 →
  • 93

    논란 지수 · 호불호 갈림

    71K 스타 · 11K fork · 논쟁 지수

    논쟁 →

최근 30일 추이

누적 스타 추이

순위 추이

일별 스타 증가

같은 보드의 이웃 랭커 · 종합

← 랭킹으로