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

Can not compiled to xfcframework? #381

Open
yyaadet opened this issue Feb 4, 2025 · 0 comments
Open

Can not compiled to xfcframework? #381

yyaadet opened this issue Feb 4, 2025 · 0 comments

Comments

@yyaadet
Copy link

yyaadet commented Feb 4, 2025

Thank you for contributing to MarkdownUI!

Before you submit an issue, please complete the report with all the relevant details for your bug and go through every item in the checklist.

Describe the bug

I want to compile a xfcframework for my project. Next is my build script:

#!/bin/zsh

export SWIFT_VERSION=5.9


SWIFT_OPTIMIZATION_LEVEL="-Onone"


xcodebuild archive \
    -scheme MarkdownUI \
    -destination "platform=macOS,arch=arm64" \
    -archivePath ./build/macos_arm64.xcarchive \
    SKIP_INSTALL=NO \
    BUILD_LIBRARY_FOR_DISTRIBUTION=YES \
    SWIFT_OPTIMIZATION_LEVEL=${SWIFT_OPTIMIZATION_LEVEL}


xcodebuild -create-xcframework \
    -framework ./build/macos_arm64.xcarchive/Products/Library/Frameworks/MarkdownUI.framework \
    -output ./build/MarkdownUI.xcframework


Returns:

Image
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

No branches or pull requests

1 participant