-
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
Invalid lock file after install/update #4740
Comments
That's a pretty weird looking lockfile - are you doing any scripting on these? Here's mine for example |
I know, my lock files looked like that before the update. Nope, not doing any scripting, just plain |
No idea if this helps, but this is the output of
|
Can you try deleting the lockfile and re-running |
I have the same issue. To update pods I need to delete Podfile.lock and Manifest.lock. My lock file looks the same as djbe's Before update: PODS:
- Bolts (1.5.0):
- Bolts/AppLinks (= 1.5.0)
- Bolts/Tasks (= 1.5.0)
... After update: >-
PODS:
- >-
Bolts (1.5.1):
- >-
Bolts/AppLinks (= 1.5.1)
- >-
Bolts/Tasks (= 1.5.1)
... |
I managed to fix this problem. |
@segiddins I actually can't use cocoapods without deleting both Podfile.lock and Pods/Manifest.lock, so every time I want to run @diejmon I have Unless more people are seeing this, I can only assume it's because something on my system, but I have no idea why. |
I'm guessing its a local configuration issue, but I have no clue what would cause it. |
same issue there since the new update |
I was able to fix this issue by uninstalling old gems. Here's the before and after output of
|
Allright, I uninstalled all my gems (had to disable SIP and re-enable it afterwards). I installed cocoapods (and shenzhen) again, and finally don't have the issue anymore! For the sake of comparison, here is my new list of installed gems:
|
I'm also seeing this issue; I'm using ruby -v: |
Same here. ruby -v: |
I'm also having this same issue, so this is not isolated. I currently can't use Cocoapods. |
If you're blocked on this, the Mac App has all of the environment (and psyche which is likely the issue here ) set up perfectly. |
Brilliant will use that from now on. |
@orta That does nothing. I have the same ruby and Cocoapods pre auf two machines, but they cannot work with each other's This is mine:
In both cases the Could it be that there is a problem dealing with development pods? e.g. line 22 local git submodule. This problem appears since we moved from the 0.39 to the 1.0.0.beta.2. Using the Cocoapods app does not seem to do anything different. |
PS: It seems that the Pods/Manifest.lock gets somehow corrupted if you have Ruby 2.0.0. The problem is, that then the I updated to Ruby 2.3.0 with rvm and after deleting the manifest I could update PS: Cocoapods should force an update if it cannot read the Manifest from an earlier version. |
From the looks on the YAML spec, >-
PODS:
- >-
Bolts/Tasks (1.5.1)
- >-
Crashlytics (3.4.1):
- >-
Fabric (~> 1.6.0) turns into
( try it here: http://yaml-online-parser.appspot.com ) Perhaps for a specific version of ruby/psyche it's converting the files into a string? |
I'm also having this issue. I created a brand new project to try in a clean environment: The pod file is very simple, only includes After that, the I don't want to update all my gems cause that could cause inconsistencies in my computer. Is there any of them that I should particularly update, say This is my
Thanks! |
Thanks! |
@segiddins 've installed cocoapods with
|
@wkoszek it's fixed on master of |
I just found that updating Cocoapods to 1.0.0.beta.6 - while still on ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15] - fixes the |
Ever since I installed the 1.0 beta I keep getting the following error whenever I try
pod install
orpod update
:My Podfile:
The contents of the lock file are as follows:
This happens when using both the 1.0 beta1 and beta2. The contents of the Podfile.lock and Manifest.lock are the same.
The text was updated successfully, but these errors were encountered: