Swift OpenAPI Generator Error

PLATFORM AND VERSION iOS Development environment: Xcode 26, macOS 26 Run-time configuration: iOS 18 and up

DESCRIPTION OF PROBLEM I am on the beta version of os 26 for both Xcode and macOS. When I try to run my project, which has the Swift OpenAPI Generator from apple, it gives the error "unsupported configuration: the aggregate target 'OpenAPIGenerator' has package dependencies, but targets that build for different platforms depend on it"

STEPS TO REPRODUCE Install macOS 26 and Xcode 26 and try running an iOS app built for iOS 18.0 and up wit the OpenAPIGenerator package on a physical iPhone running iOS 26

Answered by DTS Engineer in 847975022

Given that Swift OpenAPI Generator is part of the Swift open source effort, I recommend that you escalate this via its support channel, just like you would with any other open source library you’re using.

A good place to start would be the Server > Development topic area on Swift Forums.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Given that Swift OpenAPI Generator is part of the Swift open source effort, I recommend that you escalate this via its support channel, just like you would with any other open source library you’re using.

A good place to start would be the Server > Development topic area on Swift Forums.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Swift OpenAPI Generator Error
 
 
Q