Rocket.Chat.ReactNative icon indicating copy to clipboard operation
Rocket.Chat.ReactNative copied to clipboard

IOS white screen on simulator after building

Open ealbers opened this issue 3 years ago • 4 comments

Description:

After building Rocket.Chat IOS the app launches in the simulator but only displays the white screen. Metro gives the error: 0308010C:digital envelope routines:unsupported and TypeError: Cannot read properties of undefined (reading 'transformFile') at Bundler.js

Environment Information:

  • Rocket.Chat Server Version:
  • Rocket.Chat App Version:
  • Device Name: iPhone 12
  • OS Version: iOS 15.2
  • macOS Monterey
  • XCODE version 13.2.1

Steps to reproduce:

  1. git clone [email protected]:RocketChat/Rocket.Chat.ReactNative.git cd Rocket.Chat.ReactNative yarn
  2. npx pod-install yarn ios

Expected behavior:

IOS app to launch in the simulator and allow to enter server and login information

Actual behavior:

IOS launches and displays white screen

ealbers avatar Jan 14 '22 19:01 ealbers

Have you solved the issue?

Salmankhan033 avatar Apr 17 '22 14:04 Salmankhan033

Any update on this?

apostols1 avatar Jun 15 '22 13:06 apostols1

Got the same problem after updating npm and node.js.

in my case, its something going on in laucnPackager:

compinit: initialization aborted complete:13: command not found: compdef

IMHO: react native environment is so unstable for iOS. God help us all

warbeast456 avatar Oct 17 '22 08:10 warbeast456

I fixed it by updating access permissions to "site-functions" directory

as described here: https://stackoverflow.com/questions/13762280/zsh-compinit-insecure-directories

warbeast456 avatar Oct 17 '22 09:10 warbeast456