iOS 管理工具 xchelper

2021-07-02 15:15:33 +08:00
 qiuzhifei

xchelper

日常维护 iOS 项目较多, 目录结构、代码依赖、travis.yml 多有差异.

有的项目使用 bundler, 有的项目仅使用 cocoapods, 且 Gemfile/Podfile 路径不同.
`xchelper install` 可以寻找 Gemfile/Podfile 所在目录, 并执行相应的 install.

为每个项目的 xcodebuild test, 配置 workspace scheme 等参数很繁琐.
`xchelper test` 可以自动组装 `xcodebuild test` workspace scheme 等参数.

xchelper 可以让这些繁琐的工作统一管理.

Installation

Method Command
curl sh -c "$(curl -fsSL https://raw.githubusercontent.com/BlueIntent/xchelper/main/scripts/install.sh)"
wget sh -c "$(wget -O- https://raw.githubusercontent.com/BlueIntent/xchelper/main/scripts/install.sh)"

Usage

拉取项目依赖, 寻找 Gemfile 所在目录执行 bundle exec rake; 寻找 Podfile 所在目录执行 pod install --verbose.

xchelper install

拉取项目依赖, 并自动打开 workspace.

xchelper run

执行 xcodebuild test

xchelper test

Homepage

2509 次点击
所在节点    iOS
1 条回复
ooops
2021-07-02 19:28:31 +08:00
用不到,但是点个赞

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/787152

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX