Loading...
Loading...
Build a Bazel-based iOS / macOS / Apple app on Limrun's remote build execution (RBE) instead of a local Mac, and install it on a remote iOS simulator. Use when the project is a Bazel workspace (MODULE.bazel / WORKSPACE) building rules_apple / rules_swift targets and the user wants to `bazel build` it or run it on a simulator, or when a `--config=limrun` build or install misbehaves. To then tap, type, screenshot, or otherwise interact with the running app, use limrun-ios-simulator. For non-Bazel (plain xcodebuild) projects use limrun-xcode instead.
npx skill4agent add limrun-inc/skills limrun-xcode-bazellim xcode rbe.limrun/bazelisk build --config=limrunnpm install --global limlim loginLIM_API_KEYlim xcode rbe --helpMODULE.bazelWORKSPACElim xcode rbe.limrun/--no-daemonbazelisk --digest_function=sha256 build --config=limrun //App.limrun/lim xcode rbe--stopuser.limrun.bazelrcbuild:limrun --…lim xcode rbe.limrun/lim xcode rbelim xcode get # is a simulator already attached?
lim ios create --attach # attach one--config=limrunbazelisk --digest_function=sha256 build --config=limrun //Applim xcode rbe --ios--stoplim xcode rbe install--target//App//...limrun-ios-simulatorlim xcode rbe --auto-upload preview/my-app --upload-ttl 24h # every successful build refreshes the asset
lim xcode rbe upload preview/my-app --ttl 24h # one-shot: the newest successful build--auto-upload--config=limrun.limrun/rbe.logrbe upload24h30m1d--auto-upload--stophttps://console.limrun.com/preview?asset=<name>&platform=ioslim xcode rbe --stoplim xcode delete <id>--digest_function=sha256build--config=limrunCannot use hash function BLAKE3 with remote cachenon-SHA256 digest … rebuild with --digest_function=sha256lim xcode rbe.limrun/action cache hitremote cache hitreferences/verify-remote.md.ipa--remote_download_outputs=minimalTarget //App:App up-to-date: …/App.ipa.ipa--remote_download_outputs=minimalLost inputs no longer available remotely… Assets.carFound transient remote cache error, retrying the build...lim xcode rbeYou don't have permission to save … in "CoreSimulator"remote_default_exec_propertiesreferences/project-compatibility.md