WyxPod 0.1.1

WyxPod 0.1.1

wyxuan 维护。



WyxPod 0.1.1

  • 作者:
  • wangyongxuan

WyxPod

CI Status Version License Platform

示例

要运行示例项目,先克隆仓库,然后在 Example 目录中首先运行 pod install

要求

安装

WyxPod 通过 CocoaPods 提供使用。要安装它,只需将以下行添加到您的 Podfile 中

pod 'WyxPod'

作者

wangyongxuan,[email protected]

许可证

WyxPod项目依照MIT许可证发布。详细信息请参阅LICENSE文件。

描述

pod创建:在git上创建仓库 组件化:执行pod lib create podName,然后git add .,git commit -m "config",git remote add origin https://github.com/wyxuan/WyxPod.git,git push -u origin master

验证:执行pod lib lint WyxPod.podspec或pod lib lint WyxPod.podspec --allow-warnings,若出现错误:xcrun: error: unable to find utility "simctl",请确保Xcode的偏好设置中指定了command line tools。提交:创建tag,查看WyxPod.podspec:s.version = '0.1.0',版本git tag 0.1.0,git push origin 0.1.0,spec验证:pod spec lint WyxPod.podspec --allow-warnings,发布spec:pod trunk push WyxPod.podspec。错误提示:"You need to register a session first",请执行:pod trunk me,检查是否有账号,然后执行:pod trunk register [email protected] "wyxuan" --description='pod的创建',最后执行:pod trunk push WyxPod.podspec或pod trunk push WyxPod.podspec --allow-warnings。搜索检验:删除~/Library/Caches/CocoaPods目录下的search_index.json文件,或使用终端命令rm ~/Library/Caches/CocoaPods/search_index.json。