Pedro Paulo Amorim
Pedro Paulo Amorim

Reputation: 1949

Xcode 9.4 not showing unit tests

I've a project that uses Swift 4.1, Cocoapods and has some unit tests. These tests were visible on Xcode 9.3, after I updated it to Xcode 9.4 the test navigator gets stuck and even deleting the derived folder, cleaning the project, reinstalling the software and restarting the Mac does not solve this issue. Must be a misconfiguration on the project (but I didn't change anything). Any idea what I can do?

Xcode stuck

(Image has been resized)

Upvotes: 0

Views: 573

Answers (3)

arihant jain
arihant jain

Reputation: 115

Check if you have disabled xcode indexing. if you have delete it using the terminal command

defaults delete com.apple.dt.Xcode IDEIndexDisable

Then restart your xcode. It worked for me.

Upvotes: 0

Chris
Chris

Reputation: 1

I came across this issue with Xcode 10.2.1 and solved it by making sure all my code was checked in and pushed, then creating a new sandbox (I'm using git).

That was easier than trying to figure out what Xcode files were causing the issue.

Upvotes: 0

Pedro Paulo Amorim
Pedro Paulo Amorim

Reputation: 1949

Managed to solve the issue:

Simply uninstall all entries of Xcode following this answer this answer and install Xcode 9.4 again.

Upvotes: 2

Related Questions