auth0/react-native-auth0

Using static linking in Podfile causes undefined symbol error when building

Opened this issue · 0 comments

Checklist

Description

As part of a project I am working on, it is necessary for me to use use_frameworks! :linkage => :static in the Podfile in order to create static frameworks and link to them.
But when I added this use_frameworks! :linkage => :static to the Podfile and attempted to build, I am getting the following linking error:

ld: Undefined symbols: _OBJC_CLASS_$__TtC7A0Auth024CredentialsManagerBridge, referenced from: in A0Auth0[3](A0Auth0.o)

Reproduction

  1. Add use_frameworks! :linkage => :static to a React Native project Podfile that relies on A0Auth0.
  2. Attempt to build the project and linking error occurs

Additional context

No response

react-native-auth0 version

A0Auth0 (2.17.4)

React Native version

0.67.5

Expo version

No response

Platform

iOS

Platform version(s)

15+