[SOLVED] Standalone app blank screen ios

[SOLVED]
I don’t know how I switched from managed to bare workflow, but switching back solved this. I only just noticed in the expo diagnostics output.

rm -rf ios android
npm uninstall react-native-unimodules

[/SOLVED]

Hi I need some help with troubleshooting the production standalone app that just shows white screen (or default splash), where it works in expo go. If I run expo start --no-dev --minify it runs fine still locally.

Running expo build:ios and selecting simulator, then installing in simulator locally reproduces the issue, and the logs show…

assertion failed: 20G95 18E182: libxpc.dylib + 50305 [454053CA-B690-3B99-BE31-2369B04EA493]: 0x7d

I am not sure if that is relevant.

If I try and run expo run:ios i get a bunch of linking warnings, and error. I don’t have the knowledge to troubleshoot these…

...
! ld: directory not found for option '-L/Users/sam/Library/Developer/Xcode/DerivedData/kmapp-chcihbhttvzgsjbxyugjuzigkwwa/Build/Products/Debug-iphonesimulator/react-native-safe-area-context'
...

X ld: library not found for -lAppAuth

I have tried to route to a simple <View><Text>TEST</Text></View> to see if it would run standalone but it still doesn’t.

Thanks heaps if you can help.

here’s the diagnostic output. I haven’t ejected the app so I don’t know why the workflow says bare. It should be managed. Everything works as it should development wise.

  Expo CLI 4.11.0 environment info:
    System:
      OS: macOS 11.5.2
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.4.0 - /opt/homebrew/bin/node
      npm: 7.20.1 - /opt/homebrew/bin/npm
      Watchman: 2021.06.07.00 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.10.2 - /opt/homebrew/bin/pod
    SDKs:
      iOS SDK:
        Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    IDEs:
      Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
    npmPackages:
      expo: ~40.0.0 => 40.0.0
      react: 16.13.1 => 16.13.1
      react-dom: 16.13.1 => 16.13.1
      react-native: ~0.63.4 => 0.63.4
      react-native-web: ~0.13.12 => 0.13.18
    npmGlobalPackages:
      expo-cli: 4.11.0
    Expo Workflow: bare

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.