Skip to content

FB7339179: Combine framework doesn't want to be weak-linked in release builds. #44

@sunshinejr

Description

@sunshinejr

Date: 2019-10-01
Resolution: Open
Area: Combine.framework
OS: macOS 10.15 beta 10
Xcode: 11
Type: Application Crash

Description

We tried implementing Combine extensions at Moya but it turned out that all of the package managers had problems with automatic linking & canImport(Combine) statement. When talking to Ankit he thought that it might be a problem with Combine framework itself and availability marks. We really would like to support Combine but it seems like it’s impossible right now without breaking iOS < 13. I would really appreciate any guidance on that.

Example project: https://github.com/phimage/moyacmdtest
Discussion around Combine support: Moya/Moya#1928

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