-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated DTCoreText 1.6.3 podspec for CocoaPods 0.23
- Loading branch information
Showing
1 changed file
with
1 addition
and
8 deletions.
There are no files selected for viewing
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
be05054
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 broke installs again
Haven't had a chance to debug yet but I didn't bump or change version numbers- so this commit is breaking existing versions.
Report
Stack
Podfile
Error
be05054
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.
Also seeing
be05054
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.
be05054
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.
If pod spec X works with cocoa pods Y, it should remain that way forever. Breaking changes shouldn’t be made.
Given that this has happened with your pod in my project 3 or 4 times, I’m just going to copy the source into my project, because I can’t trust you to properly maintain your pod specs.
be05054
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.
be05054
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 just can't seem to wrap my ahead around how a static pod spec, static git tag, and static version of cocoa pods, would all of the sudden not work because a newer pod spec requires a newer version of cocoa pods. Anyhow, it will be a non issue now that've I've moved away from using your pod, and soon from using your project all together.
be05054
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.
@andrewroycarter I think your expectation is misaligned here. As CocoaPods has not hit 1.0 yet the core team is still changing tons of behavior in it which requires specs to change and use the new ways of doing things. The only consistency we attempt to guarantee is that with for the same library with the newest version of CocoaPods whenever you run
pod install
you will get the same end result. This means that you occasionally have to update your RubyGems ([sudo] gem update
). You should think of CocoaPods as still a beta tool which means that you always want to be up to date.be05054
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 guess the key thing here is that future versions of a library on an external repo shouldn't break existing versions. This is the entire point of using systems like this.
be05054
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 key thing here is that DTCoreText 1.6.3 always required CocoaPods 0.23 and never supported anything earlier. The first version that you accidentially grabbed before I could fix the Travis error worked with your way outdated 0.20 version.
Frankly your actions and statements are a bit childish.
be05054
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.
Once we get to name calling I'm out of the conversation- sorry
be05054
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.
Nobody is calling names, Andrew. You are not being friendly, are aggressive and state that you cannot trust me. Furthermore you propose to hurt my feelings by removing my code from your project.
You made a mistake but instead of fixing it and being mindful of the facts of Open Source software under heavy development you show your entitlement mentality.
I don't know what I did that causes you to go to war over such a benign matter. Tell me, so I can learn to avoid it in the future.
be05054
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 reason I'm so riled up is because I was aiming to deliver a build to a client at 1:00 today, and it's 5:00 now and I'm just solving the issue. Sorry if I seem abrasive, I'm sure you've been there. Maybe the root problem here is me using cocoa pods on a production application- because if the project is still at the point where having to make large changes to your project and development environment at any point due to an update is totally acceptable, I really shouldn't be using it for what I am (as much as I love cocoa pods).
Also, in the future, if you want to try and start an internet argument on a social network with me (https://twitter.com/Cocoanetics/status/365555974909599744) my twitter username is @andrewroycarter. Talk about being childish :)
I have figured out a way to migrate from a version of cocoa pods around 0.20-ish to the latest which works with this pod, so if anyone viewing this thread got stuck in the same boat as me, let me know and I'll see if I can help you solve the problem too.
Again, sorry for being so aggressive, let's put this in the past (and of course I'm still using your project because it's to helpful to drop!)
be05054
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 also must admit I still don't understand how this situation works out with cocoapods! If I'm using version 0.20.2 of cocoapods, and version 1.6.1 of DTCoreText, why the addition of 1.6.3 to the specs repo cause my setup to break? Is it because my version of cocoapods can't parse the latest version of the DTCoreText spec, and even though I'm not using it cocoapods still needed to reference it somehow? I'm on the latest of everything now so all is well, but I am curious!
be05054
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.
Are you using the fuzzy matcher in your Podfile. Like
pod 'foo', '~> 1.0'
be05054
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.
My complete Podfile is in the first comment, but the relevant bit is
pod 'DTCoreText', '1.6.1'
I might make a sample project and see if I can figure out what happened? I understand how moving to new versions of cocoa pods or to a new version of a pod could cause this issue, but can't figure out how this scenario panned out!
be05054
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.
Ok check this out
https://github.com/andrewroycarter/CocoapodsTest
if you run
bundle install; bundle exec pod install
you'll see that it fails. But- this setup (cocoapods 0.20.2 DTCoreText 1.6.1) was working prior to the addition of 1.6.3EDIT:
Maybe it has something to do with 1.6.1 spec dependancies? Maybe one of the DTFoundation/* podspecs changed?
be05054
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.
Interesting. I see what's happening here. This may have been fixed since the release of your old version. Bug filed CocoaPods/CocoaPods#1272
be05054
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.
Looks like you caught it! Thanks for the insight.
Sorry again @Cocoanetics for causing a ruckus, seems like we've found the issue!
be05054
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.
@andrewroycarter you'll still have to update CocoaPods to get the fix 😜