Skip to content

Rive doesn't compile when embedded in Swift Package using Xcode 26.4 with C++ interoperability enabled #435

@tbaranes

Description

@tbaranes

Submission checklist

  • I have confirmed the issue is present in the latest version of RiveRuntime
  • I have searched the documentation and forums and could not find an answer
  • I have searched existing issues and this is not a duplicate

Description

Starting with Xcode 26.4, RiveRuntime won't compile anymore in this configuration:

  • RiveRuntime (6.15.0 or greater) is embedded in a Swift Package
  • The Swift Package is embedded in a xcodeproj target
  • The xcodeproj target is using "C++ and Objective-C interoperability" set to "C++ / Objective-C++"

From my tests, if one of these conditions is not respected the compilation will be ok. For example these versions are working:

  • Xcode 26.4 + Rive 6.14.0
  • Xcode 26.3 + Rive 6.18.1

Upload your reproduction files / stack trace

RiveXcode264.zip

Screenshots / video

Image

Device

All (iPhone, iPad, Mac, etc.)

Apple OS version

Any versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions