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

Fixing derived data path #246 #271

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

songjisj
Copy link

@songjisj songjisj commented Jan 10, 2017

Instead of path "DerivedData/app/Build/Intermediates" we actually want "DerivedData/app", the code getting this path is from Scan https://github.com/fastlane/fastlane/blob/master/scan/lib/scan/detect_values.rb

Related to issue "Slather can't detect Build directory #246"

@coveralls
Copy link

Coverage Status

Coverage increased (+0.008%) to 95.193% when pulling 0bb2e8d on songjisj:master into ef8ba65 on SlatherOrg:master.

end

if derived_data_path == nil
derived_data_path = File.expand_path('~') + "/Library/Developer/Xcode/DerivedData/"
end

puts "Derived Data Path: #{derived_data_path}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

puts shouldn't be in production code

derived_data_path = derived_data_path[1] if derived_data_path
if derived_data_path
derived_data_path = derived_data_path[1]
derived_data_path = File.expand_path("../../..", derived_data_path)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be nice to have an automated test to verify this path is now correct.

@ksuther ksuther force-pushed the master branch 4 times, most recently from 9e89ec1 to 2c336ee Compare December 4, 2020 01:11
@apps4everyone
Copy link

any progress here? Thank you

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.

4 participants