美文网首页
pod 命令行

pod 命令行

作者: 小星星吃KFC | 来源:发表于2018-04-27 09:23 被阅读0次

新建

init pod

打开编辑

open -a xcode podfile

加载

pod install --verbose --no-repo-update

执行pod install时,提示如下信息:

The version of CocoaPods used to generate the lockfile (1.2.0.beta.1) is higher than the version of the current executable (1.1.1). Incompatibility issues may arise
解决方法:

执行:
命令更新资源库即可。

pod repo update 

注册 不要bb 表示注册过,登录

pod trunk register aa@qq.com bb

新建

pod lib create AXiOSKit

验证

pod spec lint AXFoundation.podspec --allow-warnings

推送

pod trunk push AXiOSKit.podspec --allow-warnings

cocopod 本地查找路径

find ~/.cocoapods/repos/master -iname xxx
sudo xattr -rd com.apple.quarantine /Applications/CleanMyMacX.app

相关文章

网友评论

      本文标题:pod 命令行

      本文链接:https://www.haomeiwen.com/subject/pftblftx.html