This covers both the legacy SFSpeechRecognizer API and the new iOS 26+ SpeechAnalyzer actor-based approach for converting speech to text. You'll find working examples for live microphone transcription with AVAudioEngine, file-based recognition, and the complete authorization flow for both speech and microphone permissions. The SpeechAnalyzer section is especially useful if you're targeting modern iOS since it shows the async/await pattern with AsyncSequence results and the asset download system for on-device recognition. The side-by-side comparison table makes it clear when to use which API. Good reference for avoiding the common AVAudioEngine tap setup mistakes and understanding the difference between server and on-device recognition modes.

skills.sh installs
3.8K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill speech-recognition --agent claude-code

Installs into .claude/skills of the current project.

Files

Speech Recognition

Transcribe live and pre-recorded audio to text using Apple's Speech framework. Covers SpeechAnalyzer / SpeechTranscriber (iOS 26+) and SFSpeechRecognizer (iOS 10+) fallback guidance.

Scope boundary: Use this skill for speech-to-text recognition, speech authorization, microphone capture plumbing, and result handling. Hand off text analysis, language identification after transcription, sentiment, embeddings, and translation to natural-language; hand off audio playback UI to avkit; hand off summarization or generation over transcripts to apple-on-device-ai.

Contents

SpeechAnalyzer Strategy (iOS 26+)

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Backend & APIs, Security, Mobile Development
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1giuseppe-trisciuoglio avataraws-sdk-java-v2-rdsgiuseppe-trisciuoglio/developer-kitProvides AWS RDS (Relational Database Service) management patterns using AWS SDK for Java 2.x. Use when creating, modifying, monitoring, or managing Amazon RDS 3.8Kskills.sh installs
2yaklang avatardns-rebinding-attacksyaklang/hack-skillsDNS rebinding attack playbook. Use when testing applications that trust DNS resolution for origin checks, interact with internal services from browser context, 3.8Kskills.sh installs
3dotnet avatarcreate-blazor-projectdotnet/skillsCreate a new ASP.NET Core web application or web site using Blazor. USE FOR: creating a new Blazor web app, scaffolding a new web project, starting a new web si3.8Kskills.sh installs
4yaklang avatartype-jugglingyaklang/hack-skillsPHP type juggling and weak comparison (`==`) bypass. Use when authentication, HMAC/signature checks, or token validation uses loose equality, numeric coercion, 3.8Kskills.sh installs
5cloudflare avatarbuilding-ai-agent-on-cloudflarecloudflare/skillsBuilds AI agents on Cloudflare using the Agents SDK with state management, real-time WebSockets, scheduled tasks, tool integration, and chat capabilities. Gener3.7Kskills.sh installs
6yaklang avatarnosql-injectionyaklang/hack-skillsNoSQL injection playbook. Use when MongoDB-style operators, JSON query objects, flexible search filters, or backend query DSLs may allow data or logic abuse.3.7Kskills.sh installs