iosreact-nativejwplayer

i am having issues with react-native ios build - Expected a type error in one of Library


Error in react-native-jw-media-player and was working fine on my previous m1 mac mini

Image screen shot

environment:

Macbook M1 Pro XCODE 13.4.1


Solution

  • 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

    enter image description here

    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!