Cherry-pick Request
Target Branch
0.85
Link to commit or PR to be picked
facebook/react-native@d21ffc9
Description
This fixes a duplicate symbol error when using React.XCFramework. The RCTSwiftUI.podspec was missing the podspec_sources function when setting up its source files, causing Xcode to both link with the XCFramework and compile the sources again — resulting in duplicate symbols and potential crashes.
This is a build-breaking issue for users consuming prebuilt XCFrameworks via CocoaPods, so it should be picked into 0.85.
Cherry-pick Request
Target Branch
0.85
Link to commit or PR to be picked
facebook/react-native@d21ffc9
Description
This fixes a duplicate symbol error when using
React.XCFramework. TheRCTSwiftUI.podspecwas missing thepodspec_sourcesfunction when setting up its source files, causing Xcode to both link with the XCFramework and compile the sources again — resulting in duplicate symbols and potential crashes.This is a build-breaking issue for users consuming prebuilt XCFrameworks via CocoaPods, so it should be picked into 0.85.