Problem with vocabulary or preprocessor

I am trying to test the React Native v0.40.0 application on my physical iPhone 6s device. I had a lot of problems and I don’t know why. When creating the application, he says that he succeeds, but shows the fatal error "cxxreact / JSBundleType.h" not found during Buildtime errors, and the application does not install on my phone. In addition, I managed to install it once a few days ago, but I had problems with api calls, since the call was made on localhost, so I believe that fetch() calls were not correctly resolved. I found this article https://tylermcginnis.com/test-your-react-native-app-on-your-iphone-or-ipad-c632b4beb3ed/ , but the AppDelegate.m file is different, so I don’t know how to do the modification that everyone offers, Any ideas?

+5
source share
1 answer

I got into this problem and could not find the answers, wherever you are ... I would like you to have the best solution for you, but react-native upgrade worked for me and reset everything: /

0
source

Source: https://habr.com/ru/post/1263896/


All Articles