Skip to content

Any support for Linux ? #319

@amine2233

Description

@amine2233

Description

This library is used inside a cli library, and it's not possible to compile this library because APIKit doesn't compile on Linux

It's possible to add this lines ?

#if canImport(FoundationNetworking)
import FoundationNetworking
#endif

it's sames that is not suffisent

OBJC_ASSOCIATION_RETAIN_NONATOMIC cause a failure
objc_getAssociatedObject
objc_setAssociatedObject
CFURLCreateStringByReplacingPercentEscapes
CFString
UTTypeCopyPreferredTagWithClass
kUTTagClassMIMEType`` UTTypeCreatePreferredIdentifierForTag kUTTagClassFilenameExtension`

maybe many other objc calls and constants

Other possibilities, is to use dependency inversion in some cases, to split parts

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