expo / expo/config-plugins

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

Open
#299 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
567
Forks
136
PR merge metrics
No merged PRs in 30d

Description

### 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//AppDelegate.swift` contains `sourceURL(for bridge: RCTBridge)` and the iOS build fails with `cannot find type 'RCTBridge' in scope`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.