Skip to content

The contents of JRE.xcframework (static vs dynamic lib) #2282

Open
@nspassov

Description

@nspassov

Hello,

I have a question about the contents of the xcframework when produced by the build scripts. Typically an xcframework contains other frameworks for individual architectures. However, the way the JRE.xcframework is produced is that it contains only binary objects (libjre_emul.a for each arch). What is the difference and why does j2objc do it in this particular way?

To my understanding it is creating static instead of dynamic libraries, however what is the reason to not compile into a dynamic lib?

95f4b819620faa7075844b156440abbe354ab2d8-748x274

Screenshot 2024-01-05 at 16 35 00

Apologies if this is a too basic of a question.

Best regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions