Skip to content

Support watchOS device #48

Closed
Closed
@crazytonyli

Description

@crazytonyli

The xcframework only support watchOS simulator, not real devices.

You can find out what devices/simulators the xcframework support by looking into target/libwordpressFFI.xcframework/Info.plist after running make xcframework.


It appears xcodebuild -create-xcframework doesn't support arm64_32 library.

$ make xcframework
...
$ xcodebuild -create-xcframework -library target/arm64_32-apple-watchos/release/libwordpress.a -headers target/swift-bindings/headers -output test.xcframework
error: unable to determine the platform for the given binary '.../target/arm64_32-apple-watchos/release/libwordpress.a'; check your deployment version settings

Maybe real watchOS device was left out because the above issue? /cc @jkmassel

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions