ios – 执行“pod install”时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,它替换为“智能引号”(‘和’).

请务必使用常规的引号(‘).

相关文章

当我们远离最新的 iOS 16 更新版本时,我们听到了困扰 Apple...
欧版/美版 特别说一下,美版选错了 可能会永久丧失4G,不过只...
一般在接外包的时候, 通常第三方需要安装你的app进行测...
前言为了让更多的人永远记住12月13日,各大厂都在这一天将应...