

The script does get invoked during a build-clean - which is not ideal. React_image_header=$(echo $PROJECT_FILE_PATH|sed 's#React/React.xcodeproj#Libraries/Image/#1')Įcho react headers = $include/React/" \ React_netw_headers=$(echo $PROJECT_FILE_PATH|sed 's#React/React.xcodeproj#Libraries/Network/#1') React_modules_head=$(echo $PROJECT_FILE_PATH|sed 's#React.xcodeproj#Modules/#1') React_view_headers=$(echo $PROJECT_FILE_PATH|sed 's#React.xcodeproj#Views/#1') 5 4 14 Electrical Covers Raised Single Receptacle. React_base_headers=$(echo $PROJECT_FILE_PATH|sed 's#React.xcodeproj#Base/#1') Restocking products Balenciaga Curve Navigator Silver Brown Print Mirror 0092 Sunglasses Bb0092s 002. #build_prestep.sh (chmod a+x)ĭerived_root=$(echo $SHARED_DERIVED_FILE_DIR|sed 's/DerivedSources//1') Get the derived data directory from the environment variables and copy the required react headers over. The exact headers you'll need to copy over will depend on your project react-native dependencies, but you'll get the jist from this. The prebuild step output ends up in prebuild.log. Yes it's not a thing of beauty but it gets the job done and also shaves a lot of time off the builds. Notice the build settings are coming from the React project in this case. If you want to keep Parallelise Build enabled and avoid the missing header problems, then provide a pre-build step in your scheme to put the react headers into the derived-data area.
