arisguimera/mobiai-core/mobiai-ios-build

Claude Code and agent skill by arisguimera/mobiai-core

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when building an iOS project, configuring schemes, troubleshooting build failures, or managing dependencies with CocoaPods or SPM.

Install

npx vskill@latest install arisguimera/mobiai-core/mobiai-ios-build

SKILL.md

iOS Build System

Community contribution welcome! This skill is a skeleton. Help flesh it out with real-world xcodebuild workflows and troubleshooting tips.

Build iOS projects using xcodebuild and manage dependencies with CocoaPods/SPM.

When to Use

  • Building the app for testing or deployment
  • Troubleshooting build failures
  • Managing dependencies (CocoaPods, SPM)

Build Commands

Discover Project Structure
bash
# List schemes
xcodebuild -list
# List schemes (workspace)
xcodebuild -workspace MyApp.xcworkspace -list
# Check if it uses workspace or project
ls *.xcworkspace *.xcodeproj 2>/dev/null
Build for Simulator
bash
# With workspace (CocoaPods projects)
xcodebuild build \
-workspace MyApp.xcworkspace \
-scheme MyApp \
-destination 'platform=iOS Simulator,name=iPhone 15 Pro' \
-quiet
# With project (no CocoaPods)
xcodebuild build \
-project MyApp.xcodeproj \
-scheme MyApp \
-destination 'platform=iOS Simulator,name=iPhone 15 Pro' \
-quiet
Build for Device
bash
xcodebuild build \
-workspace MyApp.xcworkspace \
-scheme MyApp \
-destination 'generic/platform=iOS' \
CODE_SIGNING_REQUIRED=NO
Run Tests
bash
xcodebuild test \
-workspace MyApp.xcworkspace \
-scheme MyApp \
-destination 'platform=iOS Simulator,name=iPhone 15 Pro' \
-quiet
Clean Build
bash
xcodebuild clean build \
-workspace MyApp.xcworkspace \
-scheme MyApp \
-destination 'platform=iOS Simulator,name=iPhone 15 Pro'

Dependency Management

CocoaPods
bash
# Install dependencies
pod install
# Update a specific pod
pod update <PodName>
# Check for issues
pod outdated

Always open `.xcworkspace` (not .xcodeproj) after running pod install.

Swift Package Manager

SPM dependencies are defined in the Xcode project or Package.swift.

bash
# Resolve packages
xcodebuild -resolvePackageDependencies \
-workspace MyApp.xcworkspace \
-scheme MyApp
# Check Package.swift
cat Package.swift

Code Signing

Development (Automatic)

Xcode handles signing automatically in most cases. For CLI builds:

bash
xcodebuild build \
-allowProvisioningUpdates \
-scheme MyApp \
-destination 'generic/platform=iOS'
Skip Signing (for CI or testing)
bash
xcodebuild build \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO \
-scheme MyApp \
-destination 'platform=iOS Simulator,name=iPhone 15 Pro'

Troubleshooting

DerivedData corruption
bash
rm -rf ~/Library/Developer/Xcode/DerivedData
Module not found
bash
# Regenerate module maps
pod deintegrate && pod install
# Or clean SPM cache
rm -rf ~/Library/Caches/org.swift.swiftpm
Swift version mismatch
bash
# Check Swift version
swift --version
xcrun swift --version
# Check project's Swift version
grep SWIFT_VERSION *.xcodeproj/project.pbxproj
Provisioning profile issues
bash
# List installed profiles
ls ~/Library/MobileDevice/Provisioning\ Profiles/

Want to improve this skill? Add your xcodebuild expertise, CI/CD patterns, and signing workflows via a PR.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
391
Repository forks
12
7-day trend score
30

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/arisguimera/mobiai-core/mobiai-ios-build/badge)](https://verified-skill.com/skills/arisguimera/mobiai-core/mobiai-ios-build)

Something wrong with this skill or its page? Tell us.