Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for internal distribution flag in xcframework creation #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ddrccw
Copy link

@ddrccw ddrccw commented Mar 28, 2025

After building Factory xcframwork, I get some errors "Failed to build module 'Factory" when importing Factory in other project. I find that if there is arm64-apple-ios.swiftmodule in Factory.xcframework/ios-arm64/Factory.framework/Modules/Factory.swiftmodule which can fix these errors, so I add this flag

This commit introduces a new allowInternalDistribution flag to the command options, enabling the creation of xcframeworks containing information not suitable for public distribution. The flag is passed to the xcodebuild command when set, ensuring the xcframework is built with the appropriate configuration.

This commit introduces a new `allowInternalDistribution` flag to the command options, enabling the creation of xcframeworks containing information not suitable for public distribution. The flag is passed to the xcodebuild command when set, ensuring the xcframework is built with the appropriate configuration.

Signed-off-by: ddrccw <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant