Skip to content

Error: "xcodebuild redefinition of 'sqlite3_xxx'" when building fresh expo project #65

@felixsebastian

Description

@felixsebastian

Problem

Can't build expo app, get a bunch of errors like

❌  (ios/Pods/Headers/Public/react-native-quick-sqlite/sqlite3.h:723:8)

  721 | */
  722 | typedef struct sqlite3_file sqlite3_file;
> 723 | struct sqlite3_file {
      |        ^ redefinition of 'sqlite3_file'
  724 |   const struct sqlite3_io_methods *pMethods;  /* Methods for an open file */
  725 | };
  726 |

Also get a warning when I run expo-doctor about this package being 'Untested on New Architecture'

Steps to reproduce

  1. create an expo app with npx create-expo-app
  2. install with npx expo install @journeyapps/react-native-quick-sqlite
  3. Try and build the project with npx expo run:ios

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