Skip to content
Merged
Show file tree
Hide file tree
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: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
- name: Create XCFramework
run: make build-xcframework

- name: CI diagnostics
if: always()
uses: philprime/diagnostics-action@v0.0.1

- name: Create GitHub Release
uses: softprops/action-gh-release@v3
with:
Expand Down
17 changes: 1 addition & 16 deletions scripts/create-xcframework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,11 @@ set -o pipefail
ARCHIVES_PATH="$(pwd)/archives"
OUTPUT_XCFRAMEWORK_PATH="$ARCHIVES_PATH/TPPDF.xcframework"

echo "Tool Versions:"
echo " - xcodebuild: $(xcodebuild -version)"
echo " - swift: $(swift --version)"

echo "Available SDKs:"
xcodebuild -showsdks
echo "Swift version: $(swift --version)"

echo "Available Destinations:"
xcodebuild -showdestinations -scheme TPPDF

echo "Available Simulators:"
xcrun simctl list devices

echo "Selected SDK Info:"
echo " - Path: $(xcrun -show-sdk-path)"
echo " - Version: $(xcrun -show-sdk-version)"
echo " - Build Version: $(xcrun -show-sdk-build-version)"
echo " - Platform Path: $(xcrun -show-sdk-platform-path)"
echo " - Platform Version: $(xcrun -show-sdk-platform-version)"

# 1. Archive the Swift Package for each platform
echo "Building XCFramework for iOS"
xcodebuild archive \
Expand Down
Loading