Re: [swift-corelibs-dev] Xcode build broken with latest snapshot

2017-06-27 Thread Ian Partridge via swift-corelibs-dev
On 27 June 2017 at 15:42, Ian Partridge  wrote:
> With Xcode 9 beta 2, swift.org DEVELOPMENT-SNAPSHOT-2017-06-26-a, and
latest master of swift-corelibs-foundation and swift-corelibs-xctest the
build fails in the SwiftXCTest target with:
>
> :0: error: unknown argument: '-index-store-path'
>
> Command
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2017-06-26-a.xctoolchain/usr/bin/swiftc
failed with exit code 1

To answer my own question - I was able to get the Xcode build working by
running:

defaults write com.apple.dt.Xcode IDEIndexEnableBoltIndex NO

Many thanks to Simon Evans for pointing me at the right incantation!

-- 
Ian Partridge
___
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


Re: [swift-corelibs-dev] Xcode build broken with latest snapshot

2017-06-27 Thread Philippe Hausler via swift-corelibs-dev
You can also add a user defined Xcode setting so that others don’t have to set 
that default: SWIFT_INDEX_STORE_ENABLE and set it to NO

> On Jun 27, 2017, at 8:29 AM, Ian Partridge via swift-corelibs-dev 
>  wrote:
> 
> On 27 June 2017 at 15:42, Ian Partridge  > wrote:
> > With Xcode 9 beta 2, swift.org  
> > DEVELOPMENT-SNAPSHOT-2017-06-26-a, and latest master of 
> > swift-corelibs-foundation and swift-corelibs-xctest the build fails in the 
> > SwiftXCTest target with:
> >
> > :0: error: unknown argument: '-index-store-path'
> >
> > Command 
> > /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2017-06-26-a.xctoolchain/usr/bin/swiftc
> >  failed with exit code 1
> 
> To answer my own question - I was able to get the Xcode build working by 
> running:
> 
> defaults write com.apple.dt.Xcode IDEIndexEnableBoltIndex NO
> 
> Many thanks to Simon Evans for pointing me at the right incantation!
> 
> -- 
> Ian Partridge
> ___
> swift-corelibs-dev mailing list
> swift-corelibs-dev@swift.org
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

___
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev


[swift-corelibs-dev] Xcode build broken with latest snapshot

2017-06-27 Thread Ian Partridge via swift-corelibs-dev
Hi,

Just back from vacation, I'm trying to update my Xcode development
environment for Foundation to the latest levels.

With Xcode 9 beta 2, swift.org DEVELOPMENT-SNAPSHOT-2017-06-26-a, and
latest master of swift-corelibs-foundation and swift-corelibs-xctest the
build fails in the SwiftXCTest target with:

:0: error: unknown argument: '-index-store-path'

Command
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2017-06-26-a.xctoolchain/usr/bin/swiftc
failed with exit code 1
It looks like the -index-store-path option has been removed from the
compiler recently, but is still being referred to somewhere.  I have poked
around but can't see where this option is coming from.

The full option being passed to the compiler is -index-store-path
/Users/ipartrid/Library/Developer/Xcode/DerivedData/Foundation-dlbuoxyagtlausbjtyopapynebeb/Index/DataStore

Can anyone advise?

-- 
Ian Partridge
___
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev