File tree Expand file tree Collapse file tree
Brownfield Apple App.xcodeproj
Brownfield Apple App/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 13081308 SDKROOT = auto;
13091309 STRING_CATALOG_GENERATE_SYMBOLS = YES;
13101310 SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
1311- SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)";
1311+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) USE_ROCK_HOST ";
13121312 SWIFT_APPROACHABLE_CONCURRENCY = YES;
13131313 SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
13141314 SWIFT_EMIT_LOC_STRINGS = YES;
13561356 SDKROOT = auto;
13571357 STRING_CATALOG_GENERATE_SYMBOLS = YES;
13581358 SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
1359- SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)";
1359+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) USE_ROCK_HOST ";
13601360 SWIFT_APPROACHABLE_CONCURRENCY = YES;
13611361 SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor;
13621362 SWIFT_EMIT_LOC_STRINGS = YES;
Original file line number Diff line number Diff line change @@ -16,13 +16,19 @@ let initialState = BrownfieldStore(
1616
1717#if USE_EXPO_HOST
1818private let hostAppName = " iOS Expo "
19+ #elseif USE_ROCK_HOST
20+ private let hostAppName = " iOS Rock "
1921#else
2022private let hostAppName = " iOS Vanilla "
2123#endif
2224
2325// The packaged brownfield example surface is registered under `RNApp`
2426// for both the plain React Native and Expo example apps.
27+ #if USE_ROCK_HOST
28+ private let reactNativeModuleName = " RockApp "
29+ #else
2530private let reactNativeModuleName = " RNApp "
31+ #endif
2632
2733struct ContentView : View {
2834 var body : some View {
You can’t perform that action at this time.
0 commit comments