So I was working on porting a project to bare-workflow and cannot build for release, I thought it was something I did wrong so I generated a new project and tried to build the iOS release and that isn’t working either.
The error that I’m getting is the following:
echo 'error: File /Users/cryptixcoder/Library/Developer/Xcode/DerivedData/gapgolf-edwwtmyfcjsamhcpnebfkhodmioq/Build/Products/Release-iphonesimulator/gapgolf.app/main.jsbundle does not exist. This must be a bug with'
Can you let me know what version of Xcode you are using? Also, can you clarify what type of project you have as the Bare Workflow is different than an ExpoKit.
I am using XCode 10.3 and was using the Bare Workflow. I actually found out that the issue was happening in Android as well and that it was due to the build path not being escaped and having spaces in my directory name. I moved the project to my Desktop and ran the build and everything built as expected.
I’m glad you figured it out! Thanks for sharing the reason as well.