[swift-users] Error building Swift

Dmitri Gribenko gribozavr at gmail.com
Wed Feb 17 21:44:55 CST 2016


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.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/


More information about the swift-users mailing list