Description
If I set useFrameworks=static in an Expo SDK 54 preview project (using RN 0.81), iOS will not build, with the following error:
› Compiling teststatic Pods/ReactCodegen » Props.cpp
› Compiling teststatic Pods/ReactCodegen » Props.cpp
› Compiling teststatic Pods/ReactCodegen » Props.cpp
❌ (ios/build/generated/ios/react/renderer/components/rnscreens/Props.cpp:12:10)
10 |
11 | #include <react/renderer/components/rnscreens/Props.h>
> 12 | #include <react/renderer/components/image/conversions.h>
| ^ 'react/renderer/components/image/conversions.h' file not found
13 | #include <react/renderer/core/PropsParserContext.h>
14 | #include <react/renderer/core/propsConversions.h>
15 |
› Compiling teststatic Pods/ReactCodegen » EventEmitters.cpp
Steps to reproduce
Repro at https://github.com/douglowder/TestStatic
- Create a new project with
yarn create expo-app TestStatic --template default@next
- Change into the project directory and do
npx expo install expo-build-properties@next
- Modify the expo-build-properties plugin to enable static frameworks (see above repo)
npx expo prebuild -p ios
yarn ios
Snack or a link to a repository
https://github.com/douglowder/TestStatic
Screens version
4.14.0
React Native version
0.81.0
Platforms
iOS
JavaScript runtime
Hermes
Workflow
Expo managed workflow
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
No response
Acknowledgements
Yes
Description
If I set useFrameworks=static in an Expo SDK 54 preview project (using RN 0.81), iOS will not build, with the following error:
Steps to reproduce
Repro at https://github.com/douglowder/TestStatic
yarn create expo-app TestStatic --template default@nextnpx expo install expo-build-properties@nextnpx expo prebuild -p iosyarn iosSnack or a link to a repository
https://github.com/douglowder/TestStatic
Screens version
4.14.0
React Native version
0.81.0
Platforms
iOS
JavaScript runtime
Hermes
Workflow
Expo managed workflow
Architecture
Fabric (New Architecture)
Build type
Debug mode
Device
iOS simulator
Device model
No response
Acknowledgements
Yes