You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the same issue with RN v0.77.2 and @RNC/cli v15.0.1. It happens in native_app/node_modules/@react-native-community/cli-platform-apple/build/tools/getInfo.js. The offending line is const xcodebuild = _execa().default.sync('xcodebuild', ['-list', '-json', '-project', path().join(sourceDir, location.replace('group:', ''))]);. location, which comes from ref['@_location'] is a full path for me, so is sourceDir.
The file it comes from is contents.xcworkspacedata, which seems to have change the structure of a value for me, causing this same issue. Unsure where it's coming from, or if it's a side effect of another change during my upgrade process.
I am unsure how, but my best guess is the latest Xcode changed how things work. Changing the value in contents.xcworkspacedata to a relative path of the xcodeproj file did it for me, but I cannot guarantee this isn't gonna break other stuff. Works for me, though.
Uh oh!
There was an error while loading. Please reload this page.
Ask your Question
react-native run-ios produces error in screenshot despite having the file at the mentioned path it says 'does not exist',
Anyone having same issue as this?
The text was updated successfully, but these errors were encountered: