expo: [SDK 49 beta] useFrameworks: static and expo-dev-client cause crash in build
Minimal reproducible example
https://github.com/RRaideRR/expo-49-dev-client
Summary
When enabling "useFrameworks": "static"
and using expo-dev-client, the iOS build crashes with a huge error log (sorry I cannot copy it - 25mb long). Took the whole morning to got this down to this reproducible example.
When disabling "useFrameworks": "static"
everything works.
Take a look at the minimal reproducible example and run:
yarn install
npx expo prebuild --clean
npx expo run:ios --no-build-cache
Environment
expo-env-info 1.0.5 environment info: System: OS: macOS 13.4.1 Shell: 5.9 - /bin/zsh Binaries: Node: 18.15.0 - ~/.nvm/versions/node/v18.15.0/bin/node Yarn: 1.22.19 - ~/.yarn/bin/yarn npm: 9.5.0 - ~/.nvm/versions/node/v18.15.0/bin/npm Watchman: 2023.03.06.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.12.0 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4 IDEs: Android Studio: 2022.2 AI-222.4459.24.2221.10121639 Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild npmPackages: expo: ~49.0.0-beta.0 => 49.0.0-beta.0 react: 18.2.0 => 18.2.0 react-native: 0.72.0 => 0.72.0 npmGlobalPackages: eas-cli: 3.14.0 expo-cli: 6.3.9 Expo Workflow: bare
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 16 (7 by maintainers)
Commits related to this issue
- [dev-client][updates] fix ios use_frameworks build errors (#23218) # Why fix ios use_frameworks with expo-dev-client and expo-updates fixes #23190 close ENG-9158 # How - [dev-launcher][de... — committed to expo/expo by Kudo a year ago
- [dev-client][updates] fix ios use_frameworks build errors (#23218) fix ios use_frameworks with expo-dev-client and expo-updates fixes #23190 close ENG-9158 - [dev-launcher][dev-menu] remove bridging... — committed to expo/expo by Kudo a year ago
I’m seeing a similar issue, not quite the same error but an issue with header paths when using expo 49 on EAS build with use_frameworks! static
The React-utils pod fails to compile because it can’t find the react/debug headers. IIRC @Kudo was the one who sorted out all the use_frameworks header issues before, any thoughts?