WWDC26 Platforms State of the Unionのまとめ

2026年6月9日 所 友太 / @tokorom

Platforms State of the Union - WWDC26

WWDC26のセッション Platforms State of the Union で発表された、Appleプラットフォームの最新テクノロジー、フレームワーク、開発ツールのアップデート内容を技術アーカイブとして整理します。

Platforms State of the Union

今年度のアップデートは、「Apple Intelligenceの進化」「プラットフォームの機能向上(デザイン・Swift/SwiftUI)」「デベロッパの生産性強化(Xcode・AIエージェント)」 の3つを主要な柱として構成されています。


1. Apple Intelligence & 生成AIインテグレーション

Apple Intelligenceのコアとなるのは、オンデバイスおよびプライベートクラウドで安全に動作する最新の Apple Foundation Model です。

Apple Intelligence Architecture

Foundation Model フレームワーク

Foundation Modelフレームワークを介して、Apple Intelligenceを支えるLLMへSwift APIから直接アクセス可能です。

Platforms State of the Union (Session Video)

Dynamic Profile

複雑なワークフローやマルチエージェントを少ないコードで構築するための新しい宣言型APIです。LanguageModelSession を継続的に更新し、状況に応じてProfile(AIエージェントの役割、インストラクション、使用するツールやモデル)を切り替えることができます。

Dynamic Profiles Details

同じセッション内でモデルやプロファイルを切り替えても、単一の連続したトランスクリプト(会話履歴)が共有されるため、少ないプロンプトで文脈に沿った回答が得られます。

struct CraftProfile: LanguageModelSession.DynamicProfile {
    var viewModel: CraftOrchestrator
    
    var body: some DynamicProfile {
        switch viewModel.mode {
        case .brainstorm:
            Profile {
                Instructions {
                    "You are a warm and friendly expert crafting assistant. Your job is to help the user explore and define their craft project. When the user shares photos, identify the craft type, colors, materials, and any relevant details. Then generate craft project ideas that best fit what you see and the user's request. Recommend simple beginner-level crafts that require few pieces, unless the user explicitly requests something more complex."
                }
                .model(PrivateCloudComputeLanguageModel())
                .temperature(1.0)
            }
        case .tutorial:
            Profile {
                Instructions {
                    "You explain origami and craft jargon to beginners. Try to use those specific craft supplies in the tutorial."
                    if viewModel.isTutorialReady {
                        "You may also be asked to evaluate the user's work from a photo. When this happens, match it against the tutorial steps to provide specific, constructive feedback. Be warm and supportive - highlight what they did well before suggesting improvements. Reference the specific step they appear to be on."
                    }
                }
                CalculatePaperSizeTool()
                ConvertMeasurementTool()
                MovePhotoToStepTool(viewModel: viewModel)
                
                .model(PrivateCloudComputeLanguageModel())
                .reasoningLevel(.deep)
            }
        case .terminology:
            Profile {
                Instructions {
                    "You explain origami and craft jargon to beginners. Explain in 1-3 short sentences. Plain language. No preamble. If given the step, ground the answer in what they're physically doing. For follow-ups: answer directly, don't restate the term."
                }
                .model(SystemLanguageModel())
            }
        }
    }
}

AI向けデベロッパツール群


2. Core AI & Machine Learning

オンデバイス上でモデルを実行するためのローレベルフレームワークとして、Core AI が新たに導入されました。

Core AI Framework

MLXのアップデート

Appleシリコンに最適化されたオープンソースのアレイフレームワーク MLX は、新たに Metal 4 および GPU Neural Accelerator をサポート。Thunderbolt経由 of RDMAにより、複数台のMacを連結させた大規模な分散トレーニングへ拡張可能になりました。


3. App Intents & Siri

App Intentsフレームワークを使用することで、アプリのコンテンツとアクションを記述し、Apple Intelligence(Siri)と深く統合できます。

App Intents Siri Integration

システムスキーマ(System Schemas)

Siriがアプリのコンテキストを正しく推論するための標準構造として「スキーマ」が用意されています。

システム定義のスキーマを使用するため、将来的にSiriの言語モデルのアップデートや、新しい言語・地域の方言サポートが追加された場合でも、デベロッパ側のコードを変更することなくそのまま機能します。

Spotlightインデックスの同期

アプリのコンテンツをSpotlightのセマンティックインデックスに提供することで、ユーザーがアプリの情報を素早く発見できるようになり、Siriによるパーソナルコンテキストの理解を助けます。

actor ModelManager {
    func indexEntities() throws {
        let contactEntities = try fetchRecentContacts(limit: nil).map(\.entity)
        let conversationEntities = try fetchRecentConversations(limit: nil).map(\.entity)
        let messageEntities = try fetchRecentMessages(limit: nil).map(\.entity)
        
        Task.detached {
            do {
                try await CSSearchableIndex.default().indexAppEntities(contactEntities)
                try await CSSearchableIndex.default().indexAppEntities(conversationEntities)
                try await CSSearchableIndex.default().indexAppEntities(messageEntities)
            } catch {
                print("Failed to index entities in Spotlight: \(error)")
            }
        }
    }
}

Intent Schemaの実装

アクションを記述する場合は @AppIntent マクロを使用します。以下はメッセージ送信をSiriに開放する例です。

struct SendMessageIntent: AppIntent {
    @Parameter var destination: MessageDestination
    @Parameter var subject: AttributedString?
    @Parameter var content: AttributedString?
    @Parameter(supportedContentTypes: [.image]) var attachments: [IntentFile]
    @Parameter(supportedContentTypes: [.audio]) var audioMessage: IntentFile?
    @Parameter var locations: [PlaceDescriptor]
    @Parameter var links: [URL]
    @Parameter var scheduledDate: Date?
    
    static let title = LocalizedStringResource("Send Message")
    
    @Dependency var model: ModelManager
    
    func perform() async throws -> some ReturnsValue<[MessageEntity]> {
        let recipientIDs = destination.persons.map(\.id)
        let messageText = content.flatMap { String($0.characters) } ?? ""
        let messageIDs = try await model.sendMessage(
            toRecipientIDs: recipientIDs,
            conversationID: nil,
            messageText: messageText,
            attachments: attachments
        )
        let messages = try await model.messageEntities(for: messageIDs)
        return .result(value: messages)
    }
}

View Annotations API (オンスクリーン認識)

画面上の要素とApp Entityを関連付けることで、ユーザーが画面内の情報(「この写真」「2つ目のメッセージ」など)を曖昧に指し示しながらSiriに指示を送ることができるようになります。

ForEach(messages) { message in
    MessageRow(message: message, modelManager: modelManager)
        .appEntityIdentifier(EntityIdentifier(for: MessageEntity.self, identifier: message.id))
}

4. プラットフォームデザインの洗練

昨年導入された「Liquid Glass」デザイン言語がさらに洗練され、一貫性とパーソナライズ性が高められています。

Liquid Glass Contrast Details

Liquid Glassの改良

サイドバー & ツールバーの刷新

アイコンエフェクト


5. アプリのサイズ変更と適応性 (iPhone Mirroring & iPadOS)

iOSアプリがiPadOS上でサイズ変更可能な状態で表示される機会や、macOS上の「iPhoneミラーリング」を通じて実行される機会が増えたことに伴い、多様なアスペクト比・画面サイズに対応するための適応機能が強化されました。


6. SwiftUI の大幅な進化

SwiftUIの採用拡大

NotionのSwiftUI移行や、オープンソースのGodotエンジンを用いたMac/iPadゲーム「The Goat」の開発、Apple内部における新しいSiriアプリやLogic Pro(Creator Studio)でのSwiftUIの活用など、パフォーマンスとクロスプラットフォームでのUI一貫性を理由とするSwiftUIの導入事例が紹介されています。

Notion SwiftUI Transition

新たなインタラクション

LazyVStack {
    ForEach(cranes) { crane in
        CraneRow(crane)
            .reorderable()
    }
}
.reorderContainer(for: Crane.self) { difference in
    difference.apply(to: &cranes)
}
ScrollView {
    LazyVStack(spacing: 16) {
        ForEach(model.cranes) { crane in
            CraneRow(crane)
                .swipeActions(edge: .trailing) {
                    Button(role: .destructive) { ... }
                    Button { ... }
                }
        }
    }
    .swipeActionsContainer()
}

パフォーマンス向上(スピード)

新機能

SwiftUI Features Bento Grid


7. Swift 6.4

Swiftのシステムレイヤーへの適用拡大

Swiftはモバイルアプリ開発にとどまらず、CやC++の安全な後継として、サーバー、ベアメタルファームウェア、デバイスドライバ、さらにはmacOS 27のカーネルコンポーネントに至るまで広く採用され始めています。

言語およびコンパイラのアップデート

Intel Macの終焉とApple Siliconへの完全移行

macOS TahoeがIntel Macをサポートする最後のリリースとなり、Apple Silicon(単一アーキテクチャ)への移行が完了しました。これにより、Mac App StoreではApple Silicon専用バイナリの配布が可能となり、ダウンロードサイズの削減と検証コストの低減をもたらします。 また、旧デザインとの互換性サポートが廃止され、Xcode 27で再コンパイルされたアプリには最新のLiquid Glassデザインが自動的に適用されます。


8. Xcode 27 & 生産性ツール

今年のXcodeのアップデートは、「インテリジェンス(AIエージェントの導入)」「日々の開発エクスペリエンス(動作速度と信頼性の向上)」 の2つのテーマに基づいて設計されています。

Xcode Claude Coding Agent

インテリジェントな開発支援 (AI Agents)

Xcode 27 エクスペリエンスの向上

Previews & Device Hub

enum CraftStage: CaseIterable {
    case planning
    case gathering
    case folding
    case finished
}

#Preview(arguments: CraftStage.allCases) { stage in
    WashiTapeStageView(stage: stage)
}

Xcode Previews Grid Variants


9. AIエージェントを用いた機能構築と修正の実例

セッション内では、Xcode 27のAIエージェントを活用したOrigamiアプリの新機能実装デモが行われ、その一連のワークフローが提示されました。

機能設計からコード生成の流れ

  1. 指示の入力: プロジェクト詳細から書籍アイコンをタップして起動する「Choose-Your-Own-Adventure(ストーリー生成)」機能の実装指示をエージェントに提示。
  2. インタラクティブな設計整合: エージェントがプロジェクトのビュー構造、Foundation Modelsのドキュメントを解析。プラン作成前に「選択肢の数はブランチごとにいくつか(2または3択)」などの質問を開発者に投げかけ、整合をとった上で設計図(SwiftData構造ダイアグラムを含む)を出力。
  3. ビューファースト開発: StorySetupSheetStoryChoiceBarStoryView の順でビューコンポーネントを先行構築し、プレビューを生成。
  4. モデルと状態永続化の接続: Foundation Modelsの @Generable@Guide アノテーションを使用し、LanguageModelSession を介して生成データを SwiftDatastorySessionJSON)にシームレスに永続化。

エージェントによるテストとデバッグ

デバイス上での動作確認において、エージェントは自らシミュレータを操作してバグを検出し、その修正プロセスを自動実行します。

クラッシュログの解析と修正

エージェントは、Xcodeに表示されたデバイス上の上位クラッシュ一覧からクラッシュ原因を特定し、コードの修正まで完結させます。

Xcode Crash Reporter Logs


10. まとめ

WWDC26のPlatforms State of the Unionで示された内容は、AIモデルを単にAPIで叩く存在から、Dynamic ProfileCore AIApp Intents システムスキーマによってOSレベルで完全に統合された 「インテリジェント・プラットフォーム」 への飛躍です。

また、デベロッパが向き合う統合開発環境であるXcode自体も、Agent Client ProtocolDevice Hubテーマカスタマイズ によって、エージェントと人間がシームレスに並行作業できるパーソナルな仕事場へと刷新されています。