qiuzhifei
V2EX  ›  iOS

iOS 管理工具 xchelper

  •  
  •   qiuzhifei · Jul 2, 2021 · 3170 views
    This topic created in 1802 days ago, the information mentioned may be changed or developed.

    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 replies    2021-07-02 19:28:31 +08:00
    ooops
        1
    ooops  
       Jul 2, 2021
    用不到,但是点个赞
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2658 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 15:42 · PVG 23:42 · LAX 08:42 · JFK 11:42
    ♥ Do have faith in what you're doing.