Skip to content

Xcode 26: Type does not conform to protocol '__EntityRelatable' via SPM + ObjectBoxGeneratorCommandΒ #109

@Mathimatica

Description

@Mathimatica

Is there an existing issue?

Build info

  • ObjectBox version: 5.0.0
  • OS: iOS 26, building with Xcode 26
  • Device/chipset: iPhone 16

Steps to reproduce

  1. Add ObjectBox via SPM and use 5.0.0 ( latest as of this ticket creation )
  2. Add in the sample Person example from https://swift.objectbox.io/getting-started
  3. Run Code Generator Plugin by right clicking project and choosing ObjectBoxGeneratorCommand
  4. Add Generated file to project and add it to app target
  5. Try to compile app

Expected behavior

the project should compile with no issue

Actual behavior

project fails to compile and gives : Type 'Person' does not conform to protocol '__EntityRelatable'

Metadata

Metadata

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