I’m working on a bare expo app and I’m working to covert the repo into a monorepo with the original repo code having been moved into a package folder.
I’ve been able to sort out all but one of my issues: namely an error specific to iOS EAS builds. I can get the app to build locally on iOS and Android, as well as via EAS on Android. The error I’m getting is:
› Executing ConnectionsNext » Bundle React Native code and images
the transform cache was reset.
❌ error: File /Users/expo/Library/Developer/Xcode/DerivedData/EasYarnMonorepo-evdnshdyybmkzwcqtrugkzxdarjk/Build/Intermediates.noindex/ArchiveIntermediates/EasYarnMonorepo/BuildProductsPath/Release-iphoneos/EasYarnMonorepo.app/main.jsbundle does not exist. This must be a bug with
Thinking the app entry point wasn’t working correctly on iOS, I tried a whole bunch of different things but nothing worked. I’ve come to understand that a lot of the examples out there are applicable to using expo-yarn-workspaces
with managed builds and aren’t really applicable to me. I’ve created a minimal reproducible example at: GitHub - bkensey/eas-yarn-monorepo. Getting it working should just require yarn install
in the folder root and then running pod install
in the lone package/expo-bare/ios directory.
I’d greatly appreciate any help in wrapping my head around this one, because it’s got me thoroughly stumped. Note: when checking build logs behind the scenes, the relevant builds weren’t completed under my account but rather under mpotts. Haven’t converted that account to an organization yet, but I’m thinking I should soon.