zxingify / zxingify-objc

An Objective-C Port of ZXing
Apache License 2.0
3.07k stars 753 forks source link

pod install fail #511

Closed AlexanderPan closed 1 year ago

AlexanderPan commented 4 years ago
[!] CocoaPods could not find compatible versions for pod "ZXingObjC":
  In Podfile:
    ZXingObjC (~> 3.6.7)

None of your spec sources contain a spec satisfying the dependency: `ZXingObjC (~> 3.6.7)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.
4brunu commented 3 years ago

This is because the last version published on cocoapods was 3.6.5. The version 3.6.6 and 3.6.7 are not published on cocoapods. @benjohnde can you please help with this issue? Thanks

ykws commented 3 years ago

@AlexanderPan Hi, if you need to install the latest version, the following Podfile install the latest commit on the default branch, now installed 3.6.7.

  pod 'ZXingObjC', :git => 'https://github.com/zxingify/zxingify-objc'
rbyyy commented 3 years ago

who can fix this error? Now pod update is not convenient。

benjohnde commented 1 year ago

Should be fixed with current master!