[ios][prebuild] Added React_RCTAppDelegate to swift testfile

To make sure we expose all the swift features that we should, we expose and declare a variable from React_RCTAppDelegate
This commit is contained in:
Christian Falch
2025-06-26 10:57:56 +02:00
parent c6608685cb
commit 8469327c44
@@ -6,7 +6,11 @@
*/
// The SwiftTest here in rn-tester acts as a guard to make sure that we can build React-Core clang module and import from Swift.
import React
import React_RCTAppDelegate
let p: RCTReactNativeFactory? = nil
func getReactNativeVersion() -> String {
let version = RCTGetReactNativeVersion()