Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with a release schema fails at runtime #130

Closed
bartlomein opened this issue Mar 11, 2024 · 0 comments
Closed

Building with a release schema fails at runtime #130

bartlomein opened this issue Mar 11, 2024 · 0 comments

Comments

@bartlomein
Copy link

Description

Building with a debug scheme works fine, and it works at runtime
Building for a release scheme builds ok, but fails at runtime immediately.

Steps to reproduce

  1. Change the scheme to release and run the application in xcode.

React Native Version

0.73.7

Affected Platforms

Other (please specify)

Output of npx react-native info

none

Stacktrace or Logs

Error: Exception in HostFunction: Unhandled JS Exception: Invariant Violation: Tried to register two views with the same name RCTText, js engine: hermes, stack:
invariant@2150:25
anonymous@21182:27
createReactNativeComponentClass@206374:19
anonymous@207970:85
loadModuleImplementation@206:13
guardedLoadModule@129:46
metroRequire@64:91
anonymous@206852:61
renderWithHooks@5147:23
updateForwardRef@5769:31
beginWork$1@7680:207
performUnitOfWork@7308:26
workLoopSync@7302:54
renderRootSync@7288:18
performSyncWorkOnRoot@7063:35
flushSyncCallbacks@4391:32
scheduleUpdateOnFiber@6884:529
updateContainer@7971:46
anonymous@8069:19
renderElement@3022:43
renderApplication@17477:26
anonymous@16836:39
runApplication@16891:23

Reproducer

none

Screenshots and Videos

Screenshot 2024-03-11 at 5 33 17 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant