I get above error with following configuration:
- Mackbook Professional [Apple M1 Pro] [Sonoma 14.1]
- Xcode 15.2
- System iPhone 15 Professional [17.3.1]
- react [18.2.0]
- react-native [0.73.4]
- aws-amplify [6.0.17]
- npm [10.5.0]
- node [21.7.1]
- gem [3.5.6]
- bundler [2.5.6]
to setup my surroundings I adopted this hyperlink https://reactnative.dev/docs/environment-setup?package-manager=npm&platform=ios
After I do npm run ios, I’m able to construct app on simulator and gadget.
Then I adopted this hyperlink https://reactnative.dev/docs/running-on-device
to construct App from xcode. then I get following error
Compile app_vers.c(arm64) 0.1 seconds
‘Debug-iphoneos/AmplifyRTNCore/AmplifyRTNCore.modulemap’ not discovered
I’ve tried following:
- Deleting node_modules and re- working npm i > cd ios > bundle exec pod set up > cd .. > npx pod-install.
- Tried with rosetta [VSCode and terminal] could not do for xCode
- Up to date min_ios_version_supported to 11.0 and 13.0
- tried Deleting ~/Library/Developer/Xcode/DerivedData
And varied different options out there on-line