Skip to content

Commit d1cb695

Browse files
devz906cursoragent
andcommitted
Add project verification step before build
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent c9636de commit d1cb695

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/unsigned-ipa.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,22 @@ jobs:
8383
echo "workspace_name=$WORKSPACE_NAME" >> $GITHUB_OUTPUT
8484
echo "Using: $PROJECT_TYPE at $PROJECT, scheme: $SCHEME"
8585
86+
- name: Verify project exists
87+
if: steps.find_project.outputs.project_path != ''
88+
run: |
89+
PROJECT_PATH="${{ steps.find_project.outputs.project_path }}"
90+
echo "Checking for project at: $PROJECT_PATH"
91+
if [ ! -e "$PROJECT_PATH" ]; then
92+
echo "ERROR: Project not found at $PROJECT_PATH"
93+
echo "Current directory: $(pwd)"
94+
echo "Listing src/MeloNX:"
95+
ls -la src/MeloNX/ 2>/dev/null || echo " src/MeloNX/ not found"
96+
echo "Searching for .xcodeproj:"
97+
find . -name "*.xcodeproj" -type d 2>/dev/null | head -5
98+
exit 1
99+
fi
100+
echo "Project found: $PROJECT_PATH"
101+
86102
- name: Build (unsigned) for iOS device
87103
if: steps.find_project.outputs.project_path != ''
88104
run: |
@@ -91,6 +107,8 @@ jobs:
91107
PROJECT_PATH="${{ steps.find_project.outputs.project_path }}"
92108
SCHEME="${{ steps.find_project.outputs.scheme }}"
93109
110+
echo "Building with project: $PROJECT_PATH, scheme: $SCHEME"
111+
94112
# Use absolute path from workspace root
95113
if [ "${{ steps.find_project.outputs.project_type }}" = "workspace" ]; then
96114
xcodebuild -workspace "$PROJECT_PATH" \

0 commit comments

Comments
 (0)