2017-06-16 6 views

Antwort

4

Ich hatte das gleiche Problem. Ich landete Neuinstallation und Aktualisierung auf die aktuellste Version von CocoaPods (1.2.1)

tensorflow/examples/ios/simple/ $ pod install 
Analyzing dependencies 
[!] Unable to find a specification for `TensorFlow-experimental` 

tensorflow/examples/ios/simple/ $ pod repo remove master 

Removing spec repo `master` 
tensorflow/examples/ios/simple/ $ pod setup 
Setting up CocoaPods master repo 
    $ /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --progress 
    Cloning into 'master'... 
    remote: Counting objects: 1342352, done. 
    remote: Compressing objects: 100% (2372/2372), done. 
    remote: Total 1342352 (delta 1560), reused 2050 (delta 796), pack-reused 1339018 
    Receiving objects: 100% (1342352/1342352), 405.31 MiB | 370.00 KiB/s, done. 
    Resolving deltas: 100% (673537/673537), done. 
    Checking out files: 100% (162776/162776), done. 

CocoaPods 1.3.0.beta.1 is available. 
To update use: `gem install cocoapods --pre` 
[!] This is a test version we'd love you to try. 

For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.3.0.beta.1 

Setup completed 
tensorflow/examples/ios/simple/ $ pod install 
Analyzing dependencies 
Downloading dependencies 
Installing TensorFlow-experimental (1.1.1) 
Generating Pods project 
Integrating client project 

[!] Please close any current Xcode sessions and use `tf_simple_example.xcworkspace` for this project from now on. 
Sending stats 
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed. 
tensorflow/examples/ios/simple/ $ pod --version 
1.2.1 
+0

Vielen Dank! @ Jonathon –

0

Sie können die Repo-Suchpfad auf den Kopf Ihres Podfile hinzuzufügen.

source '[email protected]@github.com:CocoaPods/Specs.git' 

Und pod install wieder.

Verwandte Themen