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
Shares schemes of any development pods. #3600
Conversation
This makes it easier to individually build the product of a development pod from a checked-in project, e.g. when using the pod-template, allowing for improved sharing with non-CocoaPods users.
cc @orta, @mrackwitz |
👍 |
end.flatten | ||
|
||
development_pod_targets.each do |pod_target| | ||
Xcodeproj::XCScheme.share_scheme(pods_project.path, pod_target.name, ENV['USER']) |
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.
The last argument is optional and will automatically fall back to the current user. But I would guess, we rather would need to share the scheme across users?
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.
This does share the scheme from the user's directory to the common one - if the last argument is optional, we can drop it 🎉
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.
Dropped the superfluous parameter now.
The current user (`ENV['USER']`) is already the default.
Shares schemes of any development pods.
This makes it easier to individually build the product of a development pod from a checked-in project, e.g. when using the pod-template, allowing for improved sharing with non-CocoaPods users.