[swift-users] Disable "indexing while building" in Xcode9 (unknown argument: `-index-store-path`)
Alex Blewitt
alblue at apple.com
Wed Jul 5 04:44:58 CDT 2017
Did you file radars for the below? If others have already reported it, then yours will count as a dupe towards it, and the more dupes that a specific radar has the higher visibility it has.
Alex
> On 5 Jul 2017, at 10:37, Jens Persson <jens at bitcycle.com> wrote:
>
> I'm using Xcode 9 beta 2 (on Sierra 10.12.5) and my top 3 annoyances are:
>
> 1. Having to manually scroll the text editor sideways to follow the caret/cursor as it moves out of view (!) while editing a line that is wider than the text editor.
>
> 2. Non-working "File -> Add Files" (Options: Copy items if needed unchecked) displaying cryptic error dialog message:
> "An assistant session is already running on this window"
> Have to use drag and drop as a workaround.
>
> 3. Jump to definition of std lib types / funcs more buggy than in 8.3.3 (sometimes not able to locate the definition, no visible cursor when in the jumped-to editor).
>
> I was surprised 1 hadn't been fixed in the second beta. Is everyone assuming that it must have been reported thousands of times already, or am I the only one experiencing it?
>
> /Jens
>
>
> On Wed, Jul 5, 2017 at 10:53 AM, Alex Blewitt via swift-users <swift-users at swift.org <mailto:swift-users at swift.org>> wrote:
> A workaround is to add SWIFT_INDEX_STORE_ENABLE=NO as a build time setting in Xcode, which prevents this argument being added to the call to swiftc.
>
> <PastedGraphic-1.png>
>
>> On 5 Jul 2017, at 02:02, Anders Hasselqvist via swift-users <swift-users at swift.org <mailto: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 <mailto:swift-users at swift.org>
>> https://lists.swift.org/mailman/listinfo/swift-users <https://lists.swift.org/mailman/listinfo/swift-users>
>
>
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org <mailto:swift-users at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-users <https://lists.swift.org/mailman/listinfo/swift-users>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170705/1793ce8e/attachment.html>
More information about the swift-users
mailing list