我正在尝试使用pod lib create创建一个cocoapod,但是由于某种原因,.xcworkspace文件从未创建过。
我已经尝试过更新Ruby,也尝试过使用我的同事正在使用的Ruby 2.0.0,它在他身上运行得很好。
以下是pod lib create命令的输出:
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`.如果任何人能在这个问题上提供任何线索,我将非常感谢,因为我很乐意立即开始使用这个伟大的工具!
发布于 2014-07-18 19:06:33
哇哦!只是弄清楚了那是什么。
我已经向pod添加了一个repo (pod repo add),它一定是在尝试从那里下载依赖项!
调用pod repo remove对其进行了排序。
https://stackoverflow.com/questions/24823334
复制相似问题