Skip to content

Build fails with xcodebuild CLI #142

@Maksym-Khaidarov

Description

@Maksym-Khaidarov

Hi!

I’m using XCStringsTool in my iOS project. And everything works perfectly when building through Xcode GUI.

However, when I try to build the same project using xcodebuild CLI (both locally and in CI/CD on Azure), the build fails with errors - for example:

error: The package product 'SwiftBasicFormat' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0 (in target 'XCStringsToolPlugin' from project 'XCStringsTool')

error: The package product 'SwiftSyntax' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0 (in target 'XCStringsToolPlugin' from project 'XCStringsTool')

error: The package product 'SwiftSyntaxBuilder' requires minimum platform version 13.0 for the iOS platform, but this target supports 12.0 (in target 'XCStringsToolPlugin' from project 'XCStringsTool')

Expected behavior

The project should build successfully via xcodebuild, the same as it does via Xcode GUI.

Environment

  • Xcode version: 16.4
  • macOS: 15.5
  • Project minimum iOS target: 14.0

Or tell me how to do it correctly and is it even possible? :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions