Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Xcode 26 Beta 3 - Main actor-isolated conformance cannot satisfy conformance requirement for a 'Sendable' type parameter 'Self' #796

Open
Labels
kind/bugFeature doesn't work as expected.status/triageCollecting information required to triage the issue.
@SynergyMike

Description

@SynergyMike

Description

While following theGenerating a client in an Xcode project tutorial, I ran into issues at the build step

Main actor-isolated conformance of 'Operations.GetGreeting.AcceptableContentType' to 'CaseIterable' cannot satisfy conformance requirement for a 'Sendable' type parameter 'Self'
Image


After digging around, It seems that the default Swift Compiler build settings for Concurrency have changed in Xcode 26 when creating a new project

Swift Compiler - Concurrency

Setting< Xcode 26Xcode 26
Approachable ConcurrencyNoYes
Default Actor IsolationnonisolatedMainActor

SwitchingDefault Actor Isolation back tononisolated enables the project to build successfully


Reproduction

Follow theGenerating a client in an Xcode project tutorial using Xcode 26, creating a new project

Package version(s)

swift-openapi-generator: 1.10.0

Expected behavior

To build and use a client within an iOS App

Environment

Xcode: Version 26.0 beta 3 (17A5276g)
swift-driver version: 1.127.8 Apple Swift version 6.2 (swiftlang-6.2.0.13.10 clang-1700.3.13.4)
Target: arm64-apple-macosx26.0

Additional information

Found the sameissue reported by@mikaelacaron in a separate thread

cc:@czechboy0

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugFeature doesn't work as expected.status/triageCollecting information required to triage the issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp