Skip to content

macCatalyst XCFramework slice missing arm64 architecture #4

@c128128

Description

@c128128

The SQLCipher XCFramework shipped in releases (tested with 4.13.0) only includes x86_64 for the macCatalyst slice (ios-x86_64-maccatalyst), missing arm64.

This causes undefined symbol linker errors for all sqlite3_* functions when building for macCatalyst on Apple Silicon:

Undefined symbols for architecture arm64:
  "_sqlite3_aggregate_context", referenced from: ...
  "_sqlite3_backup_finish", referenced from: ...
  "_sqlite3_bind_blob", referenced from: ...
  ...

The slice should be ios-arm64_x86_64-maccatalyst to support both architectures.

$ lipo -info SQLCipher.xcframework/ios-x86_64-maccatalyst/SQLCipher.framework/SQLCipher
Non-fat file: ... is architecture: x86_64
For reference, the other slices correctly include arm64 (e.g. macos-arm64_x86_64, ios-arm64).

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