Error in react-native-jw-media-player and was working fine on my previous m1 mac mini
environment:
Macbook M1 Pro XCODE 13.4.1
Try following way to resolve this issue
Go to Finder
-> Applications
Right click on Xcode
app and click on Get Info
You'll see this window
Make sure Open using Rosetta
is checked. If now mark it checked and close.
Restart your Xcode, clean build folder and build again.
Hope it resolves the issue!