Skip to content

Commit

Permalink
feat: improve error message when cannot find Xcode project (react-nat…
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonrybczak authored Jul 3, 2024
1 parent 767f9dc commit 98375b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cli-link-assets/src/linkAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ async function linkAssets(_argv: string[], ctx: CLIConfig): Promise<void> {

if (!iosProjectInfo) {
throw new CLIError(
`Could not find Xcode project files in "${iosPath}" folder`,
`Could not find Xcode project files in "${iosPath}" folder. Please make sure that you have installed Cocoapods and "${iosPath}" is a valid path`,
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function getXcodeProjectAndDir(

if (!xcodeProject) {
throw new CLIError(
`Could not find Xcode project files in "${sourceDir}" folder`,
`Could not find Xcode project files in "${sourceDir}" folder. Please make sure that you have installed Cocoapods and "${sourceDir}" is a valid path`,
);
}

Expand Down

0 comments on commit 98375b7

Please sign in to comment.