-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Fix logarchive collection on Xcode 8.3 #8848
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
685f545
to
7e7de74
Compare
CLAs look good, thanks! |
299633a
to
ae26e2d
Compare
ae26e2d
to
93005eb
Compare
|
||
FileUtils.mkdir_p(logarchive_dst) | ||
FileUtils.cp_r("#{logarchive_src}/.", logarchive_dst) | ||
UI.success "Copying file '#{logarchive_src}' to '#{logarchive_dst}'..." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the log message, can we have it back?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lyndsey-ferguson We never actually copy from a src to a destination dir now tho? - We could potentially say something like "Exporting logarchive to {path}"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had thought of using the return value from the execute
, but looking at this, we are already printing the command, so I don't think this is necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than my ask, looks good (and making sure it works with Xcode 8.2.1)
Beautiful, thanks @dantoml 👍 |
Hey @dantoml 👋 Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉 Please let us know if this change requires an immediate release by adding a comment here 👍 |
Congratulations! 🎉 This was released as part of fastlane 2.27.0 🚀 |
This changes log archive collection to specify the
--output
parameter onsimctl spawn {id} log collect
to fix an issue where the log archive would bewritten to an incorrect path when running undner Xcode 8.3
8.3 PR Failing because of this here:
Example project: