pod 命令行

2018-04-27  本文已影响0人  小星星吃KFC

新建

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
上一篇 下一篇

猜你喜欢

热点阅读