2014-07-18 14 views
0

我正在嘗試使用pod lib創建cocoapod,但由於某些原因,從未創建.xcworkspace文件。Cocoapods Pod Lib創建文件####。xcworkspace不存在

我試過更新Ruby,我試過使用Ruby 2.0.0,這是我的同事正在使用的,它對他來說工作正常。

下面是從莢LIB輸出創建命令:

tmep chris$ pod lib create hello 
Cloning `https://github.com/CocoaPods/pod-template.git` into `hello`. 
/usr/local/rvm/gems/ruby-2.0.0-p481/gems/cocoapods-0.33.1/lib/cocoapods/executable.rb:55: warning: Insecure world writable dir /usr/local/rvm/gems in PATH, mode 040777 
Configuring hello template. 
/Users/chris/tmep/hello/setup/TemplateConfigurator.rb:172: warning: Insecure world writable dir /usr/local/rvm/gems in PATH, mode 040777 

------------------------------ 

To get you started we need to ask 4 questions, this should only take a minute. 

If this is your first time we recommend running through with the guide: 
- http://guides.cocoapods.org/making/using-pod-lib-create.html 
(hold cmd and double click links to open in a browser.) 


Would you like to have a demo for your library? [ Yes/No ] 
> 
yes 
Which testing frameworks will you use? [ Specta/Kiwi ] 
> 
specta 
Would you like to do view based testing? [ Yes/No ] 
> 
yes 
What is your class prefix? 
> OS 

Running pod install on your new library. 

Analyzing dependencies 
/usr/local/rvm/gems/ruby-2.0.0-p481/gems/cocoapods-0.33.1/lib/cocoapods/executable.rb:55: warning: Insecure world writable dir /usr/local/rvm/gems in PATH, mode 040777 
[!] An error occurred while performing `git pull` on repo `studio_pods`. 
[!] /usr/bin/git pull --ff-only 

Your configuration specifies to merge with the ref 'master' 

from the remote, but no such ref was fetched. 


Ace! you're ready to go! 
We will start you off by opening your project in Xcode 
    open 'hello/Example/hello.xcworkspace' 
The file /Users/chris/tmep/hello/Example/hello.xcworkspace does not exist. 

To learn more about the template see `https://github.com/CocoaPods/pod-template.git`. 
To learn more about creating a new pod, see `http://guides.cocoapods.org/making/making-a-cocoapod`. 

我會很感激,如果任何人都可以擺脫在這個問題上的任何輕如我喜歡使用這個偉大的工具,通俗易懂的開始!

回答

0

哎呀!只是想清楚它是什麼。

我已經添加了一個回購莢(莢回購添加),它一定是試圖從那裏下載依賴!

調用pod repo刪除排序。