Skip to content

Commit

Permalink
fix(react-native): xcodeProject.path may not always be present
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Oct 24, 2024
1 parent 759c85a commit 390e630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/local-cli/runMacOS/runMacOS.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function buildProject(sourceDir, xcodeProject, scheme, args) {
return new Promise((resolve, reject) => {
const xcodebuildArgs = [
xcodeProject.isWorkspace ? '-workspace' : '-project',
path.join(sourceDir, xcodeProject.path, xcodeProject.name),
path.join(sourceDir, xcodeProject.path || '.', xcodeProject.name),
'-configuration',
args.mode,
'-scheme',
Expand Down

0 comments on commit 390e630

Please sign in to comment.