热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

如何解决Pod安装错误?-HowtoresolvethePodinstallerror?

WhileIinstallthePod.Itshowstheerrorlikethis.Howtosolvethis?当我安装吊舱。它像这样显示错误。如何解决呢?

While I install the Pod. It shows the error like this. How to solve this?

当我安装吊舱。它像这样显示错误。如何解决呢?

Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.

你的播客已经对你的名言进行了净化处理。为了避免将来出现问题,您不应该使用TextEdit来编辑它。如果您不使用TextEdit,那么您应该在选择的编辑器中关闭智能引号。

I found a solution like this:

我找到了这样的解决方案:

$ cd 
$ open -a Xcode Podfile`

If I put it like this, it shows the error:

如果我这样写,它会显示错误:

“Podfile” can’t be opened because it is from an unidentified developer.

“Podfile”无法打开,因为它来自一个身份不明的开发人员。

1 个解决方案

#1


11  

Please edit your Podfile in Xcode.

请在Xcode中编辑您的播客文件。

Open your Podfile in Xcode. Edit it. Save it.

在Xcode中打开您的Podfile。编辑它。保存它。

When you use TextEdit for Pod file editing

当您使用TextEdit进行Pod文件编辑时。

pod ‘Fabric’, ‘~> 1.7.1′    //notice the quotes

Open Podfile with Xcode.

在Xcode开Podfile。

pod 'Fabric', '~> 1.7.1'  //notice the quotes

Remove Podfile.lock from folder.

删除Podfile。锁的文件夹。

Close Xcode Project.

Xcode项目关闭。

Perform pod install.

执行安装。

Open ProjectName.xcworkspace file.

ProjectName开放。xcworkspace文件。


推荐阅读
author-avatar
最美的你
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有