I am trying to compile a hello-world react-native app that has WatermelonDB configured. I have a M1 Macbook Pro M1 and am following the instructions given here and and here to set up the project for Watermelon. Once setup, the compile for Android works correctly, but the compile for iOS fails with the following error:
This issue is discussed over here, but the problem is that this error can occur in a lot of different situations. As a result there are loads of different suggestions, not all of which are particular to this issue arising on an M1.
I am using Xcode 13.4 and am trying to get the application launching on an iOS simulator as I do not have an iOS phone to test on.
Please do not offer solutions that involve installing older versions of react-native or Xcode. I am looking the solution to get the latest version of react-native working on the latest version of Xcode.




