rodydavis/skills/flutter-and-xcode-cloud

Claude Code and agent skill by rodydavis/skills

Trust tier 2
  • community
LLM review pending
Source check pending

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

Learn how to set up Xcode Cloud to build and deploy your Flutter application to TestFlight and the App Store with this step-by-step guide.

Install

npx vskill@latest install rodydavis/skills/flutter-and-xcode-cloud

SKILL.md

How to build a Flutter app on Xcode Cloud

In this article we are going to go over how to setup Xcode Cloud to build your Flutter application for TestFlight and the AppStore.

Step 1 

Before we begin Flutter needs to be installed, and you can check by running the following:

flutter doctor -v

After it is installed we can run the following command to create and open our Flutter project (skip down to step 2 if adding to an existing app).

mkdir flutter_ci_example
cd flutter_ci_example
flutter create .

If you need more help with creating the first project you can check out my previous blog post here.

After the project is created open it in your favorite code editor.

code .

Step 2 

The generated files should look like the following:

[Image: untitled]

Create a new file at ios/ci_scripts/ci_post_install.sh and update it with the following:

#!/bin/sh
# Install CocoaPods using Homebrew.
brew install cocoapods
# Install Flutter
brew install --cask flutter
# Run Flutter doctor
flutter doctor
# Get packages
flutter packages get
# Update generated files
flutter pub run build_runner build
# Build ios app
flutter build ios --no-codesign

This is a file Xcode Cloud needs to run after the project is downloaded. We need to install cocoapods for any plugins we are using and Flutter to prebuild our application.

Then run the following command which will make the script executable:

chmod +x ios/ci_scripts/ci_post_clone.sh

Step 3 

Open up the iOS project in Xcode by right clicking on the iOS folder and selecting "Open in Xcode".

[Image: untitled]

You can also open the project by double clicking on the ios/Runner.xcworkspace file.

[Image: untitled]

Make sure you have the latest version of Xcode Cloud install and that you have access to the beta. Create a new workflow by the menu Product > Xcode Cloud > Create Workflow:

[Image: untitled]

Follow the flow to add the project and choose which type of build you want.

Make sure to remove MacOS as a target in the workflow by selecting Archive - MacOS and the delete icon on the top right.

If you want to build and release the MacOS app you will need to do that with another script in the macos folder and a workflow in that Xcode workspace.

You can create the file macos/ci_scripts/ci_post_clone.sh and update it with the following:

#!/bin/sh
# Install CocoaPods using Homebrew.
brew install cocoapods
# Install Flutter
brew install --cask flutter
# Run Flutter doctor
flutter doctor
# Enable macos
flutter config --enable-macos-desktop
# Get packages
flutter packages get
# Update generated files
flutter pub run build_runner build
# Build ios app
flutter build ios --no-codesign

If all goes well it will look like the following after a successful build:

[Image: untitled]

Conclusion 

Flutter makes it ease to build and deploy to multiple platforms and Xcode Cloud takes care of the signing for Apple platforms.

You can learn more about cd and flutter here.

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
32
Repository forks
4
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.

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/rodydavis/skills/flutter-and-xcode-cloud/badge)](https://verified-skill.com/skills/rodydavis/skills/flutter-and-xcode-cloud)

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