Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use Spotlight for Xcode version detection #298

Merged
merged 3 commits into from
Apr 7, 2017

Conversation

ksuther
Copy link
Contributor

@ksuther ksuther commented Apr 7, 2017

slather was using mdls/Spotlight to detect Xcode's version. If mdls returned (null) then the Xcode version was detected as 0, which would cause it to use the gcov path by default.

This changes it so we read the Xcode version out of the plist directly.

This should fix issues like #297 where Spotlight hasn't indexed yet. It will likely fix issues like #262 as well.

ksuther added 3 commits April 7, 2017 14:10
Change cocoapods gem requirement to ~> 1.2
Allows us to remove the runtime check for an old version of xcodeproj (xcodeproj 0.28.2 is from 2015)
…ndex Xcode

This should fix a number of misdetections where slather attempts to use gcov instead of clang
@ksuther ksuther mentioned this pull request Apr 7, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 95.631% when pulling 6848e32 on ksuther:fix-spotlight-indexing into 76dc3ce on SlatherOrg:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 95.631% when pulling 6848e32 on ksuther:fix-spotlight-indexing into 76dc3ce on SlatherOrg:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants