Skip to content

Build XCFramework instead of Fat32 binary#30

Merged
mrbiggred merged 10 commits intomainfrom
feature/update-to-xcframework
Nov 13, 2025
Merged

Build XCFramework instead of Fat32 binary#30
mrbiggred merged 10 commits intomainfrom
feature/update-to-xcframework

Conversation

@mrbiggred
Copy link
Copy Markdown
Member

Introduce a build script to create a universal XCFramework for BEMCheckBox, supporting both iOS Simulator and Device. Update the CI workflow and .gitignore to accommodate build artifacts. Refactor existing build processes for improved clarity and functionality.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the build process by replacing the legacy Fat binary (Fat32) approach with XCFramework, which is Apple's recommended format for distributing binary frameworks. XCFramework supports multiple platforms and architectures without requiring manual lipo operations.

Key Changes:

  • Introduced a new build script (Scripts/build-xcframework.sh) that creates a universal XCFramework supporting both iOS Simulator and Device platforms
  • Updated CI workflow to use the new XCFramework build process, replacing the previous multi-step Fat binary creation
  • Added build artifact directory (Temp/) to .gitignore

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 6 comments.

File Description
Scripts/build-xcframework.sh New build script that archives for iOS Simulator and Device, then combines them into an XCFramework with comprehensive logging and validation
.github/workflows/ci.yml Replaced legacy Fat binary build steps with single XCFramework build command; updated artifact paths and naming throughout
.gitignore Added Temp/ directory to exclude build artifacts from version control

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mrbiggred mrbiggred added this to the v2.2.0 milestone Nov 12, 2025
@mrbiggred mrbiggred merged commit dc15932 into main Nov 13, 2025
5 checks passed
@mrbiggred mrbiggred deleted the feature/update-to-xcframework branch November 13, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants