periphery icon indicating copy to clipboard operation
periphery copied to clipboard

Xcode 14 Beta 3 Indexing

Open crownvic opened this issue 2 years ago • 5 comments

With Xcode 14 Beta 3, when I'm scanning a project from a terminal (.xcodeproj with SPMed third-party frameworks) I get the following error message:

  • Indexing... error: (IndexStoreError) internalError("index store path does not exist: /Users/nikonov/Library/Caches/com.github.peripheryapp/DerivedData-3993676c-3993676c/Index/DataStore")

I tried to point the index store path to the Xcode's Derived Data folder; Periphery works but shows some incoherent results. For example, I have a view controller SomeVC.swift with a private func updateUI() that's called from the overridden viewWillLayoutSubviews() method. Periphery says that updateUI() is unused.

I suppose that's happening because of Xcode 14 changes.

crownvic avatar Jul 19 '22 08:07 crownvic

Same with Xcode 14 Beta 5 (14A5294e)

shuguenot avatar Aug 09 '22 11:08 shuguenot

Same for beta 6

gsbernstein avatar Aug 30 '22 23:08 gsbernstein

This won’t be fixed until the 14.0 stable release, as we need to wait for SwiftSyntax.

On Wed, Aug 31, 2022 at 00:13, Greg @.***> wrote:

Same for beta 6

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

ileitch avatar Aug 31 '22 14:08 ileitch

This won’t be fixed until the 14.0 stable release, as we need to wait for SwiftSyntax.

Shouldn't this PR be the fix? https://github.com/peripheryapp/periphery/pull/523

adarhef avatar Sep 08 '22 10:09 adarhef

14.0 was officially released, hoping for a fix soon as this issue completely prevents any usage currently

adarhef avatar Sep 18 '22 09:09 adarhef

Any updates regarding Xcode 14 support yet? Thanks!

spipau avatar Oct 03 '22 09:10 spipau

There's a fix merged but they need to do a new release. This thread has a temporary workaround to reenable the index.

gsbernstein avatar Oct 04 '22 16:10 gsbernstein

This is now fixed in v2.10.0.

ileitch avatar Oct 10 '22 08:10 ileitch