Skip to main content

bootstrap

Install dependencies and build tools for WooCommerce iOS

跳到安装

来源信息

仓库
woocommerce/woocommerce-ios
最近来源活动
2026年2月23日 10:52
检测到的 SKILL.md 语言
英语
星标
358
分支
131

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
bootstrap
description
Install dependencies and build tools for WooCommerce iOS
user-invocable
true
allowed-tools
Bash, Read
Bootstrap the local environment for WooCommerce iOS. First, check the required Xcode version and select it if available: ```bash cat .xcode-version # check required version xcode-select -p # check currently selected Xcode ``` If the selected Xcode doesn't match, look for the required version under `/Applications/` and switch to it via `xcode-select -s <path>`. If it's not installed, note this to the user and proceed with the currently selected Xcode. Then, ensure the correct Ruby version is active. The required version is in `.ruby-version`. Detect which Ruby version manager is available and use it: - `rvm`: `rvm install ruby-$(cat .ruby-version) && rvm use ruby-$(cat .ruby-version)` - `rbenv`: `rbenv install $(cat .ruby-version) && rbenv local $(cat .ruby-version)` - `chruby` / `mise`: activate the version from `.ruby-version` using the appropriate command Verify with `ruby --version` before proceeding. Then run the dependency install command: ```bash bundle install && bundle exec rake dependencies ``` If the command fails: 1. Report the failing step and error output 2. If `Bundler::GemNotFound` or wrong Ruby version errors appear, ensure the correct Ruby version is active and retry 3. If `configure_apply` (fastlane credentials) fails with exit 128, this is a git-crypt/mobile-secrets issue — it does not block building or testing, only internal credentials are missing
在 GitHub 查看