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

Philippe Hausler phausler at apple.com
Tue Jun 27 10:40:29 CDT 2017


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 at swift.org> wrote:
> 
> On 27 June 2017 at 15:42, Ian Partridge <ipartridge at gmail.com <mailto:ipartridge at 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 at swift.org
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20170627/e6e1807a/attachment.html>


More information about the swift-corelibs-dev mailing list