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

Add Pod::Podfile::Informative error which show lines in Podfile #408

Merged
merged 1 commit into from Jul 17, 2012

Conversation

siuying
Copy link
Contributor

@siuying siuying commented Jul 17, 2012

Improve informative error message in podfile.

For following Podfile:

platform :iOS

pod 'CoconutKit'

run pod install show following error:

[!] Unsupported platform: platform must be one of [:ios, :osx]
 (/Users/siuying/Documents/workspace/Sample/Podfile:1:in `block in from_file')

siuying added a commit that referenced this pull request Jul 17, 2012
Add Pod::Podfile::Informative error which show lines in Podfile
@siuying siuying merged commit e297e2e into master Jul 17, 2012
@travisbot
Copy link

This pull request passes (merged 7e14b9c into 0920c42).

@alloy
Copy link
Member

alloy commented Jul 17, 2012

Nice! I think we should remove the method name from the output and make the path relative to the project root too. I might have time for this tonight.

@alloy
Copy link
Member

alloy commented Jul 17, 2012

@siuying Can the informative branch be removed?

@siuying
Copy link
Contributor Author

siuying commented Jul 18, 2012

@alloy yep

jzapater pushed a commit to jzapater/CocoaPods that referenced this pull request Sep 17, 2013
Added support for the CreditCardCheck library.
siuying added a commit that referenced this pull request Oct 25, 2014
Add Pod::Podfile::Informative error which show lines in Podfile
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.

None yet

3 participants