Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
App won't build for release scheme, therefore won't archive.
I have watchman installed. I can build for debug, just not release.
React Native version:
0.63.4
Node version is v14.15.5
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
- Build for Release scheme
Expected Results
For the build to succeed
Snack, code example, screenshot, or link to a repository:
During the build process..
BUNDLE_FILE=/Users/coltrane/Library/Developer/Xcode/DerivedData/mobile-dsdtbnudpwicuuckveptihmuzeuy/Build/Products/Release-iphonesimulator/mobile.app/main.jsbundle
+ /usr/local/bin/node /Users/coltrane/Documents/Apps/Storyboard/social/mobile/node_modules/react-native/cli.js bundle --entry-file index.js --platform ios --dev false --reset-cache --bundle-output /Users/coltrane/Library/Developer/Xcode/DerivedData/mobile-dsdtbnudpwicuuckveptihmuzeuy/Build/Products/Release-iphonesimulator/mobile.app/main.jsbundle --assets-dest /Users/coltrane/Library/Developer/Xcode/DerivedData/mobile-dsdtbnudpwicuuckveptihmuzeuy/Build/Products/Release-iphonesimulator/mobile.app
warning: the transform cache was reset.
Welcome to React Native!
Learn once, write anywhere
events.js:292
throw er; // Unhandled 'error' event
Error: EMFILE: too many open files, watch
at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:178:28)
Emitted 'error' event on NodeWatcher instance at:
at NodeWatcher.checkedEmitError (/Users/coltrane/Documents/Apps/Storyboard/social/mobile/node_modules/sane/src/node_watcher.js:143:12)
at FSWatcher.emit (events.js:315:20)
at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:184:12) {
errno: -24,
syscall: 'watch',
code: 'EMFILE',
filename: null
}
+ [[ false != true ]]
+ [[ ! -f /Users/coltrane/Library/Developer/Xcode/DerivedData/mobile-dsdtbnudpwicuuckveptihmuzeuy/Build/Products/Release-iphonesimulator/mobile.app/main.jsbundle ]]
echo 'error: File /Users/coltrane/Library/Developer/Xcode/DerivedData/mobile-dsdtbnudpwicuuckveptihmuzeuy/Build/Products/Release-iphonesimulator/mobile.app/main.jsbundle does not exist. This must be a bug with'
In my build phases, I have it set to
export NODE_BINARY=$(which node)
../node_modules/react-native/scripts/react-native-xcode.sh
I've tried:
cd $PROJECT_DIR/..
export NODE_BINARY=node
./node_modules/react-native/scripts/react-native-xcode.sh
and other variations of the solutions on issue #29351 which didn't work either.
Please help!
Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
App won't build for release scheme, therefore won't archive.
I have watchman installed. I can build for debug, just not release.
React Native version:
0.63.4Node version is
v14.15.5Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
Expected Results
For the build to succeed
Snack, code example, screenshot, or link to a repository:
During the build process..
In my build phases, I have it set to
I've tried:
and other variations of the solutions on issue #29351 which didn't work either.
Please help!