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
- Exit with 0 instead of 1 when no app is built
- Create status files when IPA generation fails
- Upload both IPA files and status files as artifacts
- Better error messages and debugging output
- Workflow completes successfully even if iOS build fails
Copy file name to clipboardExpand all lines: .github/workflows/unsigned-ipa.yml
+29-12Lines changed: 29 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,18 @@ jobs:
149
149
SCHEME="${{ steps.find_project.outputs.scheme }}"
150
150
echo "Looking for app with scheme: $SCHEME"
151
151
152
+
# Check if build actually produced anything
153
+
if [ ! -d "build/DerivedData/Build/Products/Release-iphoneos" ] || [ -z "$(ls -A build/DerivedData/Build/Products/Release-iphoneos 2>/dev/null)" ]; then
154
+
echo "No build products found in Release-iphoneos directory"
155
+
echo "This usually means the xcodebuild step failed"
156
+
echo "Checking build directory structure:"
157
+
find build/DerivedData -name "*.app" -type d 2>/dev/null | head -5 || echo " No .app files found anywhere"
158
+
echo "IPA packaging will be skipped - no app was built"
159
+
mkdir -p "$GITHUB_WORKSPACE/ipa-out"
160
+
echo "No IPA generated - build failed" > "$GITHUB_WORKSPACE/ipa-out/build-failed.txt"
161
+
exit 0
162
+
fi
163
+
152
164
# App name might be different from scheme - try both
0 commit comments