Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/kmp-build-xcframework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ jobs:
run: |
set -euo pipefail
XCFRAMEWORK_DIR="${{ inputs.module }}/build/XCFrameworks/release/${{ inputs.name }}.xcframework"
SLICES=$(find "$XCFRAMEWORK_DIR" -type f -name '${{ inputs.name }}')
# Exclude .dSYM bundles: they contain a DWARF file with the same basename as the
# binary slice, but it's debug-info-only and not a strippable Mach-O executable/library.
SLICES=$(find "$XCFRAMEWORK_DIR" -type f -name '${{ inputs.name }}' -not -path '*.dSYM/*')
if [ -z "$SLICES" ]; then
echo "::error::No binary named '${{ inputs.name }}' found under $XCFRAMEWORK_DIR - check the Gradle output layout or the 'name' input"
exit 1
Expand Down