我使用本教程制作了自己的可可豆荚.
http://guides.cocoapods.org/making/making-a-cocoapod.html
我把它推送到我自己的github仓库.
https://github.com/kidsid59/appExample
当我尝试在自己的示例项目中使用它,通过在其podfile中进行输入
http://guides.cocoapods.org/making/making-a-cocoapod.html
我把它推送到我自己的github仓库.
https://github.com/kidsid59/appExample
当我尝试在自己的示例项目中使用它,通过在其podfile中进行输入
target "PodInstallDemoApp" do pod ‘appExample’,:git => 'https://github.com/kidsid59/appExample.git' end
然后尝试在终端中运行“pod install”.
它说 :-
[!] Invalid `Podfile` file: undefined local variable or method `‘appExample’' for # <Pod::Podfile:0x007f92e111dfc0>. Updating CocoaPods might fix the issue.
看起来它无法识别pod名称.
我已经浪费了很多时间在这个小小的建议会有所帮助.
解决方法
您可能已经使用TextEdit.app编辑了Podfile,它替换为“智能引号”(‘和’).
请务必使用常规的引号(‘).
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。