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 
> <swift-corelibs-dev@swift.org> wrote:
> 
> On 27 June 2017 at 15:42, Ian Partridge <ipartri...@gmail.com 
> <mailto:ipartri...@gmail.com>> wrote:
> > With Xcode 9 beta 2, swift.org <http://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:
> >
> > <unknown>: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

Reply via email to