[swift-users] Error building Swift

Jordan Rose jordan_rose at apple.com
Thu Feb 18 15:10:03 CST 2016


> On Feb 17, 2016, at 19:44, Dmitri Gribenko via swift-users <swift-users at swift.org> wrote:
> 
> On Wed, Feb 17, 2016 at 7:41 PM, Brandon Knope <bknope at me.com> wrote:
>> Quick update: I ran the command to build for Xcode:
>> 
>> utils/build-scripts -X
>> 
>> And it got some errors toward the end:
>> 
>>>> ** BUILD FAILED **
> 
> The Xcode generator can't be used to build, see build-script --help:
> 
> Select the CMake generator:
>  -X, --xcode-ide-only  use CMake's Xcode generator, with only IDE support (no
>                        build)
> 
> I recommend to use the default, Ninja, to build.  You can use -X for
> the IDE experience.

This is misleading. -x can be used to build, although it will only build for OS X. -X does IDE-only, and should probably go away.

Jordan


More information about the swift-users mailing list