简体   繁体   English

使用特定名称安装cocoapods库

[英]install cocoapods library with specific name

I want to install pod file with the specific name 我想安装具有特定名称的Pod文件

Now, if I fire the command pod install It will create the project with the name of Pods that I don't want. 现在,如果我启动命令pod install ,它将使用不需要的Pods名称创建项目。

It should be like, Suppose I installed Google Map library from CocoaPods command, then It should create a project name like Google Map 它应该像,假设我从CocoaPods命令安装了Google Map库,那么它应该创建一个像Google Map这样的项目名称

Please help me 请帮我

CocoaPods doesn't let you pick the name of an existing pod. CocoaPods不允许您选择现有吊舱的名称。 If you want you can fork the pod and edit the Podspec, or write your own Podspec . 如果需要,可以派生Pod并编辑Podspec,或编写自己的Podspec

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM