Expo App снимается в производственной сборке на TestflightJavascript

Форум по Javascript
Ответить Пред. темаСлед. тема
Anonymous
 Expo App снимается в производственной сборке на Testflight

Сообщение Anonymous »

У меня есть приложение для реагирования, которое до сих пор работало, до сих пор работало. Когда я запускаю сборку с помощью Expo Run: iOS он отлично работает на симуляторе, но когда я строю ее для производства, он сразу же сбоятся при его открытии.

Код: Выделить всё

Invariant Violation: Failed to call into JavaScript module method RCTDeviceEventEmitter.emit(). Module has not been registered as callable. Bridgeless Mode: false. Registered callable JavaScript modules (n = 0): .
A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes
< /code>
Unhandled JS Exception: Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Bridgeless Mode: false. Registered callable JavaScript modules (n = 0): .
A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes
< /code>
*** Terminating app due to uncaught exception 'RCTFatalException: Unhandled JS Exception: Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Bridgeless Mode: false. Registered callable JavaScript modules (n = 0): .
A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native., js engine: hermes', reason: 'Unhandled JS Exception: Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Bridgeless ..., stack:
invariant@1965:25
__callFunction@28223:21
anonymous@28036:30
__guard@28162:14
callFunctionReturnFlushedQueue@28035:20
'
*** First throw call stack:
(0x1833425fc 0x1808bd244 0x1026faeec 0x10239b15c 0x10239b984 0x183344e34 0x183343e7c 0x1833a7a38 0x10272fc90 0x102731da4 0x1027319f8
< /code>
I tried really everything already from updating all my possible dependencies, prompting every possible AI tool for solutions and so on. Nothing helped so far. My entry file path etc. is also correct as I checked it like 10000x times.
[b]Now here comes the tricky most confusing part:[/b]
I cloned my repo again and went back to the last successful commit. I updated the version numbers to the current one, build it and deploy it on TestFlight -> The build works and I can use the app. When I copy the exact same directory of the working codebase and paste it into my actual repository on the latest commit and build it again (NOT A SINGLE LINE OF CODE CHANGED) it crashes. So I dont really know how this can happen that it works on the old commit but crashes on my new commit.
I already tried to remove my whole repository from my computer and clone it somewhere else again because I thought it may has something to do with caching but it also doesnt work.
I tried all the solutions found on GitHub issues or StackOverflow, but none of them worked.
This, This, This and so on.
[b]Further Information:[/b]
I also thought is has something to do with react-native-reanimated
или react-intive-gesture-handler Версии, но 1. Они не изменились с момента моей последней успешной сборки, 2. Установленные версии совместимы с моей react-клиентной версией (0,74,5) Expo ([email protected]).
I Ran Expo Doctor в миллион раз. Точка входа (index.js) Использование по умолчанию, предоставленной Expo.
Я использую @React-cnative-firebase и обновил эти зависимости для наиболее совместимых версий.
xcode log, прежде чем сбой не дает никаких значений или ошибок во всех. Кэшированные данные с XCODE, RAN EXPO PREBUILD -clean & pod install и т. Д.

Подробнее здесь: https://stackoverflow.com/questions/794 ... testflight
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Javascript»