Mobile Native Build

Skills for orchestrating native mobile builds for iOS and Android.

gitwalter b345eeb 1.1 KB Updated

File contents

Mobile Native Build Skill

When to Use

Use this skill to automate the building of native iOS and Android applications, ensuring that environmental configurations and dependencies are correctly resolved.

Prerequisites

  • Native build environment (Xcode for iOS, Android Studio/SDK for Android).
  • Validated mobile-patterns.json Knowledge Item.
  • Access to the repository containing the mobile source code.

Process

  1. Configure Environment: Set the necessary environment variables and paths.
  2. Clean Project: Run clean commands to ensure a fresh build.
  3. Trigger Build: Use the run_native_build tool for the target platform.
  4. Collect Artifacts: Safeguard the resulting .ipa or .apk files.

Best Practices

  • Dependency Isolation: Use dependency managers like CocoaPods or Gradle to manage external libraries.
  • Uniform Environments: Use consistent build agents to avoid "works on my machine" issues.
  • Fast Fail: Configure builds to stop immediately on the first error.

gitwalter/antigravity-agent-factory/tree/main/.agent/skills/verification/mobile-native-build commit b345eebb69

Frequently asked questions

npx skillmds@latest add gitwalter/mobile-native-build