V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
qiuzhifei
V2EX  ›  iOS

iOS 管理工具 xchelper

  •  
  •   qiuzhifei · 2021-07-02 15:15:33 +08:00 · 2378 次点击
    这是一个创建于 1028 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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

    1 条回复    2021-07-02 19:28:31 +08:00
    ooops
        1
    ooops  
       2021-07-02 19:28:31 +08:00
    用不到,但是点个赞
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5434 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 09:11 · PVG 17:11 · LAX 02:11 · JFK 05:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.