Skip to content

Analytics: Undefined symbols for architecture x86_64 #6484

Discussion options

You must be logged in to vote

It turned out that my setting for a config plugin (that writes configurations for native projects) was wrong.

firebase-ios-sdk requires the usage of frameworks. To specify this on a managed Expo project, you need to install a config plugin called expo-build-properties and edit the plugin property of app.json like following:

[
  "expo-build-properties",
  {
    "ios": {
      "useFrameworks": "static"
    }
  }
]

In my original code, instead of static, I specified dynamic, which was causing the error.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@hayata-suenaga
Comment options

@mikehardy
Comment options

@hayata-suenaga
Comment options

@mikehardy
Comment options

Comment options

You must be logged in to vote
1 reply
@mikehardy
Comment options

Answer selected by hayata-suenaga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants