Skip to content

Commit 98375b7

Browse files
feat: improve error message when cannot find Xcode project (#2444)
1 parent 767f9dc commit 98375b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cli-link-assets/src/linkAssets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async function linkAssets(_argv: string[], ctx: CLIConfig): Promise<void> {
9797

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

packages/cli-platform-apple/src/commands/buildCommand/getXcodeProjectAndDir.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function getXcodeProjectAndDir(
2222

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

0 commit comments

Comments
 (0)