Skip to content

Expo 53: @config-plugins/react-native-branch 10.0.0 breaks iOS build #299

@davidavz

Description

@davidavz

Summary

With the documented Expo 53 setup (react-native-branch 6.6.0 + @config-plugins/react-native-branch 10.0.0), expo prebuild generates an iOS AppDelegate.swift that fails to compile with cannot find type 'RCTBridge' in scope. Expected behavior: the documented version combination should generate native iOS code that builds successfully.

Config Plugin

@config-plugins/react-native-branch

What platform(s) does this occur on?

iOS

SDK Version

53

Reproducible demo

A minimal repro can be created from a fresh Expo SDK 53 app by installing react-native-branch@6.6.0 and @config-plugins/react-native-branch@10.0.0, adding the Branch config plugin to app.config.ts, then running expo prebuild -p ios followed by expo run:ios. The generated ios/<AppName>/AppDelegate.swift contains sourceURL(for bridge: RCTBridge) and the iOS build fails with cannot find type 'RCTBridge' in scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions