Trouble building ios after bare eject
See original GitHub issue🐛 Bug Report
Environment
Expo CLI 3.13.1 environment info: System: OS: macOS 10.14.6 Shell: 3.2.57 - /bin/bash Binaries: Node: 13.5.0 - /usr/local/bin/node Yarn: 1.21.1 - /usr/local/bin/yarn npm: 6.13.4 - /usr/local/bin/npm IDEs: Android Studio: 3.5 AI-191.8026.42.35.6010548 Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild npmPackages: @types/react: ~16.9.0 => 16.9.23 @types/react-native: ~0.61.22 => 0.61.22 expo: ~36.0.0 => 36.0.2 react: ~16.9.0 => 16.9.0 react-native: ~0.61.4 => 0.61.5 npmGlobalPackages: expo-cli: 3.13.1
ios
Steps to Reproduce
Doing a bare eject of an expo project with the following dependencies: “expo”: “~36.0.0”, “react”: “~16.9.0”, “react-dom”: “~16.13.0”, “react-native”: “~0.61.4”, “react-native-gesture-handler”: “~1.5.0”, “react-native-reanimated”: “~1.4.0”, “react-native-screens”: “2.0.0-beta.13”, “react-native-unimodules”: “~0.7.0”, “react-native-web”: “~0.12.2”, “react-native-appearance”: “~0.3.1”, “react-native-paper”: “^3.6.0”, “react-native-picker-select”: “^6.6.0”, “react-relay”: “experimental”, “react-router”: “next”, “react-router-dom”: “next”, “react-router-native”: “next”, “relay-runtime”: “^9.0.0”, “styled-components”: “^5.0.1”, “yup”: “^0.28.3”
My ios project has additional needs, therefore Podfile includes use_frameworks! use_modular_headers!
Building ios produces an error: interface/ios/UMPermissionsInterface/UMPermissionsInterface.h:4:9: fatal error: ‘UMCore/UMModuleRegistry.h’ file not found #import <UMCore/UMModuleRegistry.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
I found that upgrading the following dependencies will get past the missing header: “expo”: “~37.0.0”, “react”: “^16.13.0”, “react-native”: “0.61.5”, “react-native-unimodules”: “^0.8.0”
But the ios build now produces a linker error: “OBJC_CLASS$_RCTImageLoader”, referenced from: objc-class-ref in EXImageLoader.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Expected Behavior
Podfile should be compatible with use_frameworks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)

Top Related StackOverflow Question
this should be resolved now – https://github.com/expo/expo/commit/4559b35a9f3df9fcdc9bd8fa5bae4b99a6cd4bf9
please delete your yarn.lock and node_modules and reinstall to ensure that you get expo-image-loader@1.0.1. run
pod installagain in the ios directory too, after reinstalling node_modules ofc.alternatively you can exclude it from your project in the Podfile as described in this section of the react-native-unimodules readme: https://github.com/unimodules/react-native-unimodules#-configure-ios
I went ahead and created a repo that reproduces this error:
https://github.com/carsondarling/expo37_use_frameworks_error_demo