Skip to content

Problem building with expo 53 #11

@zwily

Description

@zwily

I just tried upgrading my expo app to expo 53, and ran into a weird issue that I think I may have tracked down to this module somehow, but I don't understand it.

After going through the expo 53 upgrade steps, I regenerated ios app (I use CNG), and when I built started getting this error thrown in the AppDelegate.swift in my app:

Cannot find type 'RCTBridge' in scope

In an effort to figure out what was causing this, I create a brand new Expo 53 app. It has an idential AppDelegate.swift file, but worked fine. So I started adding back in modules from my app to see if any of them caused it to fail. (I would install a module, the run npx expo prebuild --clean and try to build again.)

When I got to the livekit modules, I installed them in this order:

module success?
@livekit/react-native-webrtc
@livekit/react-native
@livekit/react-native-expo-plugin

I then uninstalled @livekit/react-native-expo-plugin, rebuilt and it worked. Then reinstalled it, and the error came back.

At this point I'm pretty lost. Anyone have a clue what might be happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions