cocoapods-publishing-workflow

Automate CocoaPods library publishing to Trunk with validation and version tagging.

187|20|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/TheBushidoCollective/han --skill cocoapods-publishing-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cocoapods-publishing-workflow
Source: https://github.com/TheBushidoCollective/han/tree/main/jutsu/jutsu-cocoapods/skills/publishing-workflow
Command: npx skills add https://github.com/TheBushidoCollective/han --skill cocoapods-publishing-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides you through CocoaPods publishing to trunk, including trunk registration, podspec validation, version tagging, and publishing.

Core Features & Use Cases

  • Trunk Registration: One-time setup for publishing.
  • Podspec Validation: Local and remote validation steps.
  • Git Tagging & Publish: Version tagging and trunk pushing.

Quick Start

Register for trunk, validate your podspec, tag version 1.0.0, and push to trunk.

Frequently Asked Questions about cocoapods-publishing-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish a CocoaPods library to trunk?

Publishing to trunk automates distributing your iOS/macOS library through CocoaPods. Register for trunk once, validate your podspec locally and remotely, tag your version in git, then push to trunk. The Skill handles all registration, validation, tagging, and publishing steps end-to-end.

What is trunk registration and do I need to do it only once?

Trunk registration is a one-time setup that authorizes your account to publish CocoaPods libraries. Once registered, you can publish multiple versions of your podspec without re-registering.

How do I validate a podspec before publishing?

Podspec validation checks your library configuration locally and remotely against CocoaPods standards. Local validation catches syntax and structure errors in your podspec file; remote validation verifies your library meets trunk requirements before publishing.

Can I automate version tagging and trunk publishing together?

Yes. The publishing workflow automates version tagging in git and pushing to trunk as coordinated steps. After validating your podspec, tag your release version and push to trunk in a single automated sequence.

What happens if my podspec validation fails?

Validation failures indicate missing or incorrect podspec fields, incompatible dependencies, or platform mismatches. The Skill identifies which validation step failed—local or remote—so you can fix your podspec configuration before attempting to publish again.

Do I need Ruby or command-line experience to publish with CocoaPods?

The publishing workflow handles CocoaPods trunk operations through automation, but familiarity with Ruby, podspec syntax, and basic git commands (tagging, pushing) helps. The Skill guides you through each step so you understand what each stage validates and performs.