Last active
August 29, 2015 13:56
-
-
Save akisute/9320910 to your computer and use it in GitHub Desktop.
I'm getting hatred to this buggy tool named CocoaPods...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CocoaPods could completely break up your MyProject.xcodeproj to the state where even CocoaPods itself can't fix it, | |
# (for example, losing PODS_ROOT configulations) | |
# if you specify some broken Podfile. Adding `target "xxx" do ~ end` structure to your Podfile might be a trigger of this. | |
# So here's a tip: DO NOT ADD `target` unless absolutely nessessary. | |
#-------------------------------------------------------------------------------- | |
# WORKED | |
platform :ios, "7.0" | |
target "MyProject" do | |
pod 'Masonry', '~> 0.4' | |
end | |
target "MyProjectTests" do | |
pod 'Masonry', '~> 0.4' | |
end | |
#-------------------------------------------------------------------------------- | |
# WORKED | |
platform :ios, "7.0" | |
pod 'Masonry', '~> 0.4' | |
#-------------------------------------------------------------------------------- | |
# NOT TESTED (perhaps broken) | |
platform :ios, "7.0" | |
target "MyProject" do | |
pod 'Masonry', '~> 0.4' | |
end | |
#-------------------------------------------------------------------------------- | |
# BROKEN, DO NOT DO THIS | |
platform :ios, "7.0" | |
pod 'Masonry', '~> 0.4' | |
target "MyProject" do | |
end | |
target "MyProjectTests" do | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment