Skip to content

XCFramework support #4

@munhitsu

Description

@munhitsu

Hi,
I'm trying to build a proper .xcframework bundle to combine all current targets (arm&intel, iOS, macOS, Catalyst).
To bundle things into XCFrameworks one is supposed to use xcodebuild -create-xcframework -library foo.a -output foo.xcframework, but whenever I include macabi build (catalyst) I get error: unable to determine the platform for the given binary

Any idea how to deal with it?

See below:

 % xcodebuild -create-xcframework -library XcodeIntegration/XcodeIntegration/Rust/libtest1_mac.a -output foo.xcframework
error: unable to determine the platform for the given binary '/Users/munhitsu/hack-memory/rust-catalyst-example/XcodeIntegration/XcodeIntegration/Rust/libtest1_mac.a'; check your deployment version settings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions