[swift-users] Disable "indexing while building" in Xcode9 (unknown argument: `-index-store-path`)

David Baraff davidbaraff at gmail.com
Tue Jul 4 20:05:23 CDT 2017

How is xcode9 beta going in general?  I would dearly love to start using the new Codable stuff, and I don’t have to really worry about swift 3 compatability — it’s just a question of the xcode 9 beta being safe enough to get work done.

(The fact that “yank” was broken makes it a non-starter for me but i’m kind of hoping it gets fixed soon.)

> On Jul 4, 2017, at 6:02 PM, Anders Hasselqvist via swift-users <swift-users at swift.org> wrote:
> Hi,
> I've been trying to use the swift4 snapshot toolchains with Xcode9 beta with little success.
> When building I get the error:
> "
> <unknown>:0: error: unknown argument: '-index-store-path'
> Command /Library/Developer/Toolchains/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-06-29-a.xctoolchain/usr/bin/swiftc failed with exit code 1
> "
> I believe that this because of missing "indexing while building" support in the open source swift in the currently available snapshots. (The feature was merged just a few days ago: https://github.com/apple/swift/pull/10726 <https://github.com/apple/swift/pull/10726>)
> Is there a way to disable "indexing while building" in Xcode9?
> Thanks,
> Anders
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170704/7d6ce253/attachment.html>

More information about the swift-users mailing list