2016-10-18 9 views
1

Ich versuche, die Version> 1.24 von Lock (https://github.com/auth0/Lock.iOS-OSX) zu verwenden, aber mein Kakao Repo hat diese Version nicht verfügbar. Ich ausführen pod Suche sperren, und ich sehe die Folge Info:Wie kann ich meinen Kakao Repo aktualisieren?

Lock (1.13.0) 
    A library that uses Auth0 for Authentication with Native Look & Feel 
    pod 'Lock', '~> 1.13.0' 
    - Homepage: https://github.com/auth0/Lock.iOS-OSX 
    - Source: https://github.com/auth0/Lock.iOS-OSX.git 
    - Versions: 1.13.0, 1.12.1, 1.12.0, 1.11.3, 1.11.2, 1.11.1 

Die Version im Repo ist 1,27, und meine Repo ist alt. Ich versuche, mit Pod-Repo-Update zu aktualisieren, aber immer noch nicht verfügbar ¿Jemand kann mir helfen?

enter image description here

Im Versuch, dieses podfile zu verwenden:

# Uncomment this line to define a global platform for your project 
platform :ios, '10.0' 

target 'TalkClassTest' do 
    # Comment this line if you're not using Swift and don't want to use dynamic frameworks 
    use_frameworks! 

    # Pods for TalkClassTest 

    target 'TalkClassTestTests' do 
    inherit! :search_paths 
    pod 'Lock', '~> 1.24' 
    end 
end 

aber wenn ich pod ich dieses erros ausführen installieren erhalten:

[!] Unable to satisfy the following requirements: 

- `Lock (~> 1.24)` required by `Podfile` 

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

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

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default. 
MacBook-Air-de-Randall:TalkClassTest Randal$ 
+0

Wie sieht Ihre Pod-Datei aus? –

+0

@DavidSeek Ich aktualisiere die Frage mit meinem Podfile und den Fehler, den ich erhalte. Sorry, aber ich bin Anfänger heh – randall

+0

'Pod Repo Update'? – JAL

Antwort

1

Dank an alle, die angemeldete Lösung ausführen die folgenden Befehle: pod repo remove master und nach pod setup

Verwandte Themen