Skip to content

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.

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