-
Notifications
You must be signed in to change notification settings - Fork 463
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
Minor API Improvements #187
Conversation
# | ||
def symbol_dst_subfolder_spec=(value) | ||
numeric_value = Constants::COPY_FILES_BUILD_PHASE_DESTINATIONS[value] | ||
raise "[Xcodeproj] Value checking error: got `#{value.inspect}` for" \ |
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.
Should this be an Informative
or some more specific exception class?
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.
We use in Xcodeproj mainly just StandardError
.
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.
Gotcha
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.
Yes, Informative class is from CocoaPods itself and Xcodeproj is a standalone gem.
👍 |
@mrackwitz want to address Fabio's comments so we can merge? |
@segiddins: Thanks for the reminder. I will adress them soon. |
18d8f94
to
feb8db2
Compare
Those API improvements will be helpful in an upcoming version of CocoaPods. 😉