Skip to content

Commit 1ddd5bd

Browse files
Update gptdriverscript.yml
1 parent 759baff commit 1ddd5bd

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

.github/workflows/gptdriverscript.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -122,20 +122,21 @@ jobs:
122122
123123
# Create a simple ExportOptions.plist for 'development' method (suitable for debug/test IPAs)
124124
EXPORT_OPTIONS_PLIST_PATH="$IPA_OUTPUT_DIR/ExportOptions.plist"
125-
cat <<EOF_PLIST > "$EXPORT_OPTIONS_PLIST_PATH" # Changed EOF to EOF_PLIST
126-
<?xml version="1.0" encoding="UTF-8"?>
127-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
128-
<plist version="1.0">
129-
<dict>
130-
<key>method</key>
131-
<string>development</string>
132-
<key>compileBitcode</key>
133-
<false/>
134-
<key>uploadSymbols</key>
135-
<false/>
136-
</dict>
137-
</plist>
138-
EOF_PLIST # Corrected indentation for this EOF_PLIST, ensure it's exact: 10 spaces from left margin.
125+
# Corrected indentation for the XML content inside the here-document
126+
cat <<EOF_PLIST > "$EXPORT_OPTIONS_PLIST_PATH"
127+
<?xml version="1.0" encoding="UTF-8"?>
128+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
129+
<plist version="1.0">
130+
<dict>
131+
<key>method</key>
132+
<string>development</string>
133+
<key>compileBitcode</key>
134+
<false/>
135+
<key>uploadSymbols</key>
136+
<false/>
137+
</dict>
138+
</plist>
139+
EOF_PLIST # This EOF_PLIST must be at the exact same indentation as 'cat <<EOF_PLIST' (10 spaces from left margin).
139140

140141
echo "Exporting IPA to: $IPA_OUTPUT_DIR"
141142
xcodebuild -exportArchive \
@@ -154,7 +155,7 @@ EOF_PLIST # Corrected indentation for this EOF_PLIST, ensure it's exact: 10 spac
154155
echo "Generated IPA path: $GENERATED_IPA"
155156
echo "APP_PATH=$GENERATED_IPA" >> $GITHUB_ENV # Overwrite APP_PATH to point to the IPA
156157
echo "--- Contents of IPA Output Directory ---"
157-
ls -R "$IPA_OUTPUT_DIR" # Corrected variable name from $IPA_OUTPUT_OUTPUT_DIR to $IPA_OUTPUT_DIR
158+
ls -R "$IPA_OUTPUT_DIR"
158159
echo "----------------------------------------"
159160
working-directory: ./ios-app-repo # This must be indented exactly 6 spaces, aligned with 'name:' and 'run:' for this step.
160161

0 commit comments

Comments
 (0)