Skip to content

[Bug] 'Redefinition of sqlite3_file' error with SQLCipher on Xcode 26 #1815

@yuanyeer

Description

@yuanyeer

Hello,

After updating our development environment to Xcode 26, we are encountering a build-breaking error related to symbol redefinition. The project builds successfully on Xcode 16.4

The core of the issue seems to be a header conflict between the system's sqlite3.h and the sqlite3.h provided by the SQLCipher pod.

Environment
GRDB.swift/SQLCipher (5.24.1)

  • SQLCipher (4.5.1):
    • SQLCipher/standard (= 4.5.1)
  • SQLCipher/common (4.5.1)
  • SQLCipher/standard (4.5.1):
    • SQLCipher/common
Image

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