I am trying to build a release ipa file for iOS (no problem when I edit scheme to Debug). And I got this error like image below:
My project is monorepo project, using Salesforce Mobile SDK with TypeScript. Solutions I've tried:
- Run the command
react-native bundle --entry-file='index.js' --bundle-output='./ios/app/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'
and add main.jsbundle to Copy Bundle Resources section. - In Build React Native code and images section, change
export NODE_BINARY=node
toexport NODE_BINARY=$(which node)
- Clean and Rebuild.