首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Cocoapods Pod Lib创建文件####.xcworkspace不存在

Cocoapods Pod Lib创建文件####.xcworkspace不存在
EN

Stack Overflow用户
提问于 2014-07-18 18:53:29
回答 1查看 1K关注 0票数 0

我正在尝试使用pod lib create创建一个cocoapod,但是由于某种原因,.xcworkspace文件从未创建过。

我已经尝试过更新Ruby,也尝试过使用我的同事正在使用的Ruby 2.0.0,它在他身上运行得很好。

以下是pod lib create命令的输出:

代码语言:javascript
复制
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`.

如果任何人能在这个问题上提供任何线索,我将非常感谢,因为我很乐意立即开始使用这个伟大的工具!

EN

回答 1

Stack Overflow用户

发布于 2014-07-18 19:06:33

哇哦!只是弄清楚了那是什么。

我已经向pod添加了一个repo (pod repo add),它一定是在尝试从那里下载依赖项!

调用pod repo remove对其进行了排序。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/24823334

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档