Skip to content

Commit f4c201f

Browse files
authored
Merge pull request #77807 from hamishknight/update-xcodegen-help
2 parents a93e8fd + b0d91b0 commit f4c201f

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

utils/swift-xcodegen/README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,13 @@ PROJECT CONFIGURATION:
7676
Generate a target for C/C++ files in the standard library (default: --stdlib)
7777
--stdlib-swift/--no-stdlib-swift
7878
Generate targets for Swift files in the standard library. This requires
79-
using Xcode with a main development snapshot (and as such is disabled
80-
by default). (default: --no-stdlib-swift)
79+
using Xcode with a main development Swift snapshot, and as such is
80+
disabled by default.
81+
82+
A development snapshot is necessary to avoid spurious build/live issues
83+
due to the fact that the the stdlib is built using the just-built Swift
84+
compiler, which may support features not yet supported by the Swift
85+
compiler in Xcode's toolchain. (default: --no-stdlib-swift)
8186
--test-folders/--no-test-folders
8287
Add folder references for test files (default: --test-folders)
8388
--unittests/--no-unittests

utils/swift-xcodegen/Sources/swift-xcodegen/Options.swift

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,13 @@ struct ProjectOptions: ParsableArguments {
164164
name: .customLong("stdlib-swift"), inversion: .prefixedNo,
165165
help: """
166166
Generate targets for Swift files in the standard library. This requires
167-
using Xcode with a main development snapshot (and as such is disabled
168-
by default).
167+
using Xcode with a main development Swift snapshot, and as such is
168+
disabled by default.
169+
170+
A development snapshot is necessary to avoid spurious build/live issues
171+
due to the fact that the the stdlib is built using the just-built Swift
172+
compiler, which may support features not yet supported by the Swift
173+
compiler in Xcode's toolchain.
169174
"""
170175
)
171176
var addStdlibSwift: Bool = false

0 commit comments

Comments
 (0)