could not find module 'ExpoModulesCore' for target 'x86_64-apple-ios-simulator'

When I run expo run:ios I get this error:

:x: (/Users/user/company/orbi-app/ios/Pods/Target Support Files/Pods-common-orbi/ExpoModulesProvider.swift:8:8)

6 | */
7 |

8 | import ExpoModulesCore
| ^ could not find module ‘ExpoModulesCore’ for target ‘x86_64-apple-ios-simulator’; found: arm64-apple-ios-simulator, at: /Users/user/Library/Developer/Xcode/DerivedData/Orbi-agknngcmtjkpuhhecidmickojprf/Build/Products/Debug-iphonesimulator/ExpoModulesCore/ExpoModulesCore.swiftmodule

I am on M1 mac but I had it working before, I cant reproduce it in fresh repo but there was same issue already without solution:

Hi @yolk I’m experiencing the same issue. Were you able to resolve this?

Hitting the same issue