I've got a React Native App that is built by fastlane via Gitlab that is giving the following error:
.......node_modules/react-native/ReactCommon/yoga/yoga/YGEnums.h:10:10: double-quoted include "YGMacros.h" in framework header, expected angle-bracketed instead [-Werror,-Wquoted-include-in-framework-header] #include "YGMacros.h"
Found this article: https://developer.apple.com/forums/thread/651941
.gitlab-ci.yml has the following script to build the IOS app.
script:
- rm -rf node_modules
- nvm use
- npm install
- cd ios
- rm -rf ~/Library/Developer/Xcode/DerivedData/*
- rm -rf ~/Library/Caches/CocoaPods/
- sudo gem install bundler:1.17.2
- sudo bundle update
- sudo gem install cocoapods --pre
- bundle exec fastlane beta
It appears the cocoapods install gets the correct version:
$ sudo gem install cocoapods --pre
Successfully installed cocoapods-1.10.0.rc.1
Parsing documentation for cocoapods-1.10.0.rc.1
I'm still getting the double-quotes error
pod --version
andbundle exec pod --version
– Paul Beusterien