Cocoapods: Different checksum for pod on different computer on 1.0.0 Beta 4

Created on 3 Mar 2016  路  10Comments  路  Source: CocoaPods/CocoaPods

The checksum for one of the pods changes based on the computer pod install is run. Here are the parts of the podfile I think are relevant:

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'
inhibit_all_warnings!

target 'myApp' do
  pod 'MagicalRecord',      :git => 'https://github.com/mycompany/MagicalRecord.git',
                            :branch => 'feature/add_search_asending_per_attribute'
end
discussion

Most helpful comment

For anyone else who might find this, uninstalling and re-installing didn't help. I had to delete the Pods/Local Podspecs directory.

All 10 comments

Can you please post the two different Podfile.locks, as well as what ruby version is machine is running, and also the contents of each machines Pods/Local Specs directories?

Both machines run Ruby 2.3.0p0.

Office Computer
_Podfile.lock_

PODS:
  - AFHTTPRequestOperationLogger (0.10.0):
    - AFNetworking (>= 0.9.0)
  - AFNetworking (1.3.4)
  - AFOAuth1Client (1.0.0):
    - AFNetworking (~> 1.3)
  - BlocksKit (2.2.5):
    - BlocksKit/All (= 2.2.5)
  - BlocksKit/All (2.2.5):
    - BlocksKit/Core
    - BlocksKit/DynamicDelegate
    - BlocksKit/MessageUI
    - BlocksKit/UIKit
  - BlocksKit/Core (2.2.5)
  - BlocksKit/DynamicDelegate (2.2.5)
  - BlocksKit/MessageUI (2.2.5):
    - BlocksKit/Core
    - BlocksKit/DynamicDelegate
  - BlocksKit/UIKit (2.2.5):
    - BlocksKit/Core
    - BlocksKit/DynamicDelegate
  - Bolts (1.1.3)
  - Branch (0.11.11)
  - EDColor (0.2.1)
  - Facebook-iOS-SDK (3.22.0):
    - Bolts (~> 1.0)
  - Kiwi (2.4.0)
  - MagicalRecord (2.1.0)
  - Mixpanel (2.9.1):
    - Mixpanel/Mixpanel (= 2.9.1)
  - Mixpanel/Mixpanel (2.9.1)
  - NSData+Base64 (1.0.0)
  - OAuthCore (0.0.1):
    - NSData+Base64
  - Parse (1.6.3):
    - Bolts (~> 1.1)
  - Reachability (3.2)
  - SHObjectUserInfo (1.0.0)
  - SVProgressHUD (1.1.2)

DEPENDENCIES:
  - AFHTTPRequestOperationLogger (~> 0.10.0)
  - AFNetworking (~> 1.3.1)
  - AFOAuth1Client (from `https://github.com/mycompany/AFOAuth1Client.git`)
  - BlocksKit (~> 2.2.0)
  - Branch (~> 0.11.11)
  - EDColor (~> 0.2.0)
  - Facebook-iOS-SDK (~> 3.22.0)
  - Kiwi (~> 2.4.0)
  - MagicalRecord (from `https://github.com/mycompany/MagicalRecord.git`, branch `feature/add_search_asending_per_attribute`)
  - Mixpanel (~> 2.0)
  - OAuthCore (~> 0.0.0)
  - Parse (~> 1.6)
  - Reachability (~> 3.2)
  - SHObjectUserInfo (from `https://github.com/someperson/SHObjectUserInfo.git`, tag `1.0.0`)
  - SVProgressHUD (~> 1.0)

EXTERNAL SOURCES:
  AFOAuth1Client:
    :git: https://github.com/mycompany/AFOAuth1Client.git
  MagicalRecord:
    :branch: feature/add_search_asending_per_attribute
    :git: https://github.com/mycompany/MagicalRecord.git
  SHObjectUserInfo:
    :git: https://github.com/someperson/SHObjectUserInfo.git
    :tag: 1.0.0

CHECKOUT OPTIONS:
  AFOAuth1Client:
    :commit: cc58d427eea518a96b8c44b57d07afab6feed96e
    :git: https://github.com/mycompany/AFOAuth1Client.git
  MagicalRecord:
    :commit: 1c4d75b207f2af12422972f9bd83f207048441fc
    :git: https://github.com/mycompany/MagicalRecord.git
  SHObjectUserInfo:
    :git: https://github.com/someperson/SHObjectUserInfo.git
    :tag: 1.0.0

SPEC CHECKSUMS:
  AFHTTPRequestOperationLogger: c1a17c7f73357ce0c8f932c828693477659a47d8
  AFNetworking: cf8e418e16f0c9c7e5c3150d019a3c679d015018
  AFOAuth1Client: bde44841c506c1a70716d6e0aeb3ac1cb9558961
  BlocksKit: 7f422b971407001178d181a43b99014ea2591fe6
  Bolts: e431c88fd02115d4a34016c2100bbfa4d2d5b146
  Branch: 71b1180c49d75e0d849e2611ecf3016de7572eac
  EDColor: 4c9a260d187a62b39c5072c4b85b80d1ecc7d136
  Facebook-iOS-SDK: 141cba3ba6c484380eb38c573110af9e4fbf8962
  Kiwi: f49c9d54b28917df5928fe44968a39ed198cb8a8
  MagicalRecord: 09c2958e7ea0f7249b29daa972f93d4fea2190b9
  Mixpanel: 5ca24b2a05f4c77fe9bcfe7671d681d0f3f8d76f
  NSData+Base64: 4e84902c4db907a15673474677e57763ef3903e4
  OAuthCore: 43dce261db846a1fe20234d95654257e00e78581
  Parse: 26354b8e2d22082f2aa95e7055c3254b91f27437
  Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
  SHObjectUserInfo: d47d4450ba0c9b8e9e9080544a3a35caa777f381
  SVProgressHUD: 3afb875b9eb23acd1bed9b82495695c68621a8b2

PODFILE CHECKSUM: 8cc93cb609bc79ae845fd9417fbf2cfb3f4ba9b6

COCOAPODS: 1.0.0.beta.4

_Pods/Local Podspecs_

AFOAuth1Client.podspec.json
CZPhotoPickerController.podspec.json
DACircularProgress.podspec.json
MagicalRecord.podspec.json
React.podspec.json
SHObjectUserInfo.podspec.json
SHOmniAuthTwitter.podspec.json
twitter-text-objc.podspec.json

Laptop Computer
_Podfile.lock_

PODS:
  - AFHTTPRequestOperationLogger (0.10.0):
    - AFNetworking (>= 0.9.0)
  - AFNetworking (1.3.4)
  - AFOAuth1Client (1.0.0):
    - AFNetworking (~> 1.3)
  - BlocksKit (2.2.5):
    - BlocksKit/All (= 2.2.5)
  - BlocksKit/All (2.2.5):
    - BlocksKit/Core
    - BlocksKit/DynamicDelegate
    - BlocksKit/MessageUI
    - BlocksKit/UIKit
  - BlocksKit/Core (2.2.5)
  - BlocksKit/DynamicDelegate (2.2.5)
  - BlocksKit/MessageUI (2.2.5):
    - BlocksKit/Core
    - BlocksKit/DynamicDelegate
  - BlocksKit/UIKit (2.2.5):
    - BlocksKit/Core
    - BlocksKit/DynamicDelegate
  - Bolts (1.1.3)
  - Branch (0.11.11)
  - EDColor (0.2.1)
  - Facebook-iOS-SDK (3.22.0):
    - Bolts (~> 1.0)
  - Kiwi (2.4.0)
  - MagicalRecord (2.1.0)
  - Mixpanel (2.9.1):
    - Mixpanel/Mixpanel (= 2.9.1)
  - Mixpanel/Mixpanel (2.9.1)
  - NSData+Base64 (1.0.0)
  - OAuthCore (0.0.1):
    - NSData+Base64
  - Parse (1.6.3):
    - Bolts (~> 1.1)
  - Reachability (3.2)
  - SHObjectUserInfo (1.0.0)
  - SVProgressHUD (1.1.2)

DEPENDENCIES:
  - AFHTTPRequestOperationLogger (~> 0.10.0)
  - AFNetworking (~> 1.3.1)
  - AFOAuth1Client (from `https://github.com/mycompany/AFOAuth1Client.git`)
  - BlocksKit (~> 2.2.0)
  - Branch (~> 0.11.11)
  - EDColor (~> 0.2.0)
  - Facebook-iOS-SDK (~> 3.22.0)
  - Kiwi (~> 2.4.0)
  - MagicalRecord (from `https://github.com/mycompany/MagicalRecord.git`, branch `feature/add_search_asending_per_attribute`)
  - Mixpanel (~> 2.0)
  - OAuthCore (~> 0.0.0)
  - Parse (~> 1.6)
  - Reachability (~> 3.2)
  - SHObjectUserInfo (from `https://github.com/aperson/SHObjectUserInfo.git`, tag `1.0.0`)
  - SVProgressHUD (~> 1.0)

EXTERNAL SOURCES:
  AFOAuth1Client:
    :git: https://github.com/mycompany/AFOAuth1Client.git
  MagicalRecord:
    :branch: feature/add_search_asending_per_attribute
    :git: https://github.com/mycompany/MagicalRecord.git
  SHObjectUserInfo:
    :git: https://github.com/aperson/SHObjectUserInfo.git
    :tag: 1.0.0

CHECKOUT OPTIONS:
  AFOAuth1Client:
    :commit: cc58d427eea518a96b8c44b57d07afab6feed96e
    :git: https://github.com/mycompany/AFOAuth1Client.git
  MagicalRecord:
    :commit: 1c4d75b207f2af12422972f9bd83f207048441fc
    :git: https://github.com/mycompany/MagicalRecord.git
  SHObjectUserInfo:
    :git: https://github.com/aperson/SHObjectUserInfo.git
    :tag: 1.0.0

SPEC CHECKSUMS:
  AFHTTPRequestOperationLogger: c1a17c7f73357ce0c8f932c828693477659a47d8
  AFNetworking: cf8e418e16f0c9c7e5c3150d019a3c679d015018
  AFOAuth1Client: bde44841c506c1a70716d6e0aeb3ac1cb9558961
  BlocksKit: 7f422b971407001178d181a43b99014ea2591fe6
  Bolts: e431c88fd02115d4a34016c2100bbfa4d2d5b146
  Branch: 71b1180c49d75e0d849e2611ecf3016de7572eac
  EDColor: 4c9a260d187a62b39c5072c4b85b80d1ecc7d136
  Facebook-iOS-SDK: 141cba3ba6c484380eb38c573110af9e4fbf8962
  Kiwi: f49c9d54b28917df5928fe44968a39ed198cb8a8
  MagicalRecord: 0d9fa9c1bc961243498f38910c9b21662848d203
  Mixpanel: 5ca24b2a05f4c77fe9bcfe7671d681d0f3f8d76f
  NSData+Base64: 4e84902c4db907a15673474677e57763ef3903e4
  OAuthCore: 43dce261db846a1fe20234d95654257e00e78581
  Parse: 26354b8e2d22082f2aa95e7055c3254b91f27437
  Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
  SHObjectUserInfo: d47d4450ba0c9b8e9e9080544a3a35caa777f381
  SVProgressHUD: 3afb875b9eb23acd1bed9b82495695c68621a8b2

PODFILE CHECKSUM: 8cc93cb609bc79ae845fd9417fbf2cfb3f4ba9b6

COCOAPODS: 1.0.0.beta.4

_Pods/Local Podspecs_

AFOAuth1Client.podspec.json
MagicalRecord.podspec.json
SHObjectUserInfo.podspec.json

Can you share the two MagicalRecord.podspec.json files, since that's the only one with a different checksum?

_Desktop_

{
  "name": "MagicalRecord",
  "version": "2.1.0",
  "license": "MIT",
  "summary": "Super Awesome Easy Fetching for Core Data 1!!!11!!!!1!.",
  "homepage": "http://github.com/magicalpanda/MagicalRecord",
  "authors": {
    "Saul Mora": "[email protected]"
  },
  "source": {
    "git": "https://github.com/magicalpanda/MagicalRecord.git",
    "branch": "develop",
    "tag": "2.1"
  },
  "description": "Handy fetching, threading and data import helpers to make Core Data a little easier to use.",
  "source_files": "MagicalRecord/**/*.{h,m}",
  "frameworks": "CoreData",
  "requires_arc": true,
  "prefix_header_contents": [
    "#ifdef __OBJC__",
    "#define MR_SHORTHAND",
    "#import \"CoreData+MagicalRecord.h\"",
    "#endif"
  ]
}

_Laptop_

{
  "name": "MagicalRecord",
  "version": "2.1.0",
  "license": "MIT",
  "summary": "Super Awesome Easy Fetching for Core Data 1!!!11!!!!1!.",
  "homepage": "http://github.com/magicalpanda/MagicalRecord",
  "authors": {
    "Saul Mora": "[email protected]"
  },
  "source": {
    "git": "https://github.com/magicalpanda/MagicalRecord.git",
    "branch": "develop",
    "tag": "2.1"
  },
  "description": "Handy fetching, threading and data import helpers to make Core Data a little easier to use.",
  "source_files": "MagicalRecord/**/*.{h,m}",
  "frameworks": "CoreData",
  "requires_arc": true,
  "prefix_header_contents": [
    "#ifdef __OBJC__",
    "#define MR_SHORTHAND",
    "#import \"CoreData+MagicalRecord.h\"",
    "#endif"
  ],
  "platforms": {
    "osx": null,
    "ios": null,
    "tvos": null,
    "watchos": null
  }
}

It looks like you're running different versions of CocoaPods on the two machines.

Interestingly both of the lock files say 1.0.0.b.4 - I wonder if one was pod install'd on an older build, then update to CP 1.0b - wherein the podspec json isn't updated because CP don't consider it changed?

Thanks guys. What would be the best temporary work around? Simply uninstall and install CP?

or use bundler to run a consistent version, or pod _1.0.0.beta.5_ install, or uninstalling other versions, whichever you prefer

Great thanks for your help

For anyone else who might find this, uninstalling and re-installing didn't help. I had to delete the Pods/Local Podspecs directory.

Was this page helpful?
0 / 5 - 0 ratings