Skip to content

Carthage build fails with incompatible deployment target #36

@kkalisz

Description

@kkalisz

Hi,
I have trouble with using Charts Realm alongside with carthage. I'm getting exception during build:
Checkouts/ChartsRealm/ChartsRealm/Classes/Data/RealmBarDataSet.swift:14:8: error: compiling for iOS 8.0, but module 'Charts' has a minimum deployment target of iOS 8.4:

I think it's expected behaviour with current configuration, as I checked project settings
Charts 3.4.0 = iPhone Deployment target is 8.4
Charts Realm 3.4.0 = iPhone Deployment target is 8.0

So indeed it should not compile because child dependency has bigger target value than library itself,
and Carthage is honoring deployment target from project settings

I think that changing deployment target for ChartsReam to 8.4 should fix issue.
I can prepare PR, just let me know what you think about that.

Best Regards

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