-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Pod Install DOES NOT WORK #2625
Comments
Right. Sorry for the wasted time on this. Please accept a free lifetime license to this software. Also, next time have the decency to read the contributing guidelines before you post, leave your attitude at the door, and try to be helpful. We’re not your personal support team. |
Thank you for the lifetime license of this software. However, it has a bug. I would like to bring it to your attention as it may cause many people who are using this to have trouble and become frustrated. During these frustrated times, I would assume that all frustration is not directed towards the unknown people that contribute to a software project, but rather the software itself. I would hope that the crash report aids you in future releases. |
Sometimes i wish there was a downvote button on GitHub issues. |
@justlikealltherest I appreciate your willingness to report an issue and actually sympathize with the annoyance of breaking builds. If you'd like to start over with a new ticket that communicates your willingness to help out more clearly, then please do so. |
Thank you alloy, that was well put. You have skills working with irate 'customers', and I apologize for being one. The original post was an unleashing of all of the challenges that I have had with cocoapods. The main issue I think is in using this with Git and a team of people. Since using it, we unfortunately have never been able to just 'git pull' someones changes. We have always had an issue with cocoapods that prevents that and then we do all kinds of praying to the Xcode gods a clean-> delete libpods.a -> clean -> pod install -> clean -> attempt to run ritual to try to get back to work (usually takes about 30-120 mins)... Today, it was all day. Sometimes during this process, we have to uninstall cocoapods, and sometime during that process, cocoapods crashes. Its a daily struggle and I know there are other people out there who are going through it too. I am sure that in time, these kinks will be worked out, and I commend you for your work, and time. |
@justlikealltherest the easiest way for us to try and debug that situation is if you can share a sample setup that exhibits those same issues. |
Thank you for coming around, it’s water under the bridge 👍 Now let’s see if we can get this sorted out. You mention other issues regarding Regarding the original issue, it is indeed hard for us to determine what the cause is just by the stack trace and, as @segiddins points out, the only way for us to look into that would be for you to provide a reproducible setup. However, I think it will be faster if you can perform some debugging on your side first. First of all, I notice that you have the ‘master’ spec repository cloned twice (the second one being Otherwise some deeper inspection is required. (I’d prefer that, if this part is required, you would create a new ticket, so that others that might have the same issue can find a clean to the point ticket without the noise in the beginning.)
def source_with_url(url)
puts "ORIGINAL URL: #{url}"
url = url.downcase.gsub(/.git$/, '')
puts "NORMALISED URL TO FIND: #{url}"
aggregate.sources.find do |s|
puts "NORMALISED SOURCE URL: #{s.url.downcase.gsub(/.git$/, '')}"
s.url.downcase.gsub(/.git$/, '') == url
end
end
|
Try changing the https URL to a git URL in your Podfile: |
Great writeup guys! So it appears that the actual root of the problem was in the setup of ruby / git on my machine. First things first, I updated ruby. Then, onto git. The git that I was using (I believe) was installed via Brew. OSX has its own version of git, but my bashrc (for aliases) was using the brew version. I changed the bashrc to use the apple/OSX version of git and then that seemed to fix the issue. So outdated ruby + brew git = crashing cocoapods. My computer needed to be configured this way because git was giving an error when trying to do anything with github (saying that unsecure http connections were not longer supported), and so to remedy that, I had to ensure that all git requests were done via ssh. The root of that problem was that actually my github certificate was not installed on my machine anymore. So the total set of actions for anyone having this issue to try is
*hopefully this will help people in the future and thank you to the cocoapod guys for their help |
@justlikealltherest Thanks for the update! ❤️ In the current version we’ve included a check for a minimum git version that we require #2651. |
―
Report
pod install
the fucking thing to work, after dicking with this shit for like 3 hours.. and uninstalling it and reinstalling it, and installing older versions, and upgrading git, and upgrading ruby, and removing all the files and installing it again and having it keep creating 'Master-1' then 'Master-2', then 'Master-3' each time, then removing those files, uninstalling cocoapods, and reinstalling it again.
the crash below X 75 times
Stack
Plugins
Podfile
Error
The text was updated successfully, but these errors were encountered: