Cartography icon indicating copy to clipboard operation
Cartography copied to clipboard

Xcode9: Cartography (3.0.0) fails to compile with Swift 4 for macOS

Open dhmspector opened this issue 6 years ago • 3 comments

using Cartography (3.0.0), In Cartography/constraint.swift, line 19 and 23:

'isActive' is only available on OS X 10.10 or newer

screen shot 2017-11-06 at 12 29 56 pm

This happens using Cocoapods with a build target whose deployment target is 10.10

dhmspector avatar Nov 06 '17 20:11 dhmspector

Interesting, the podspec allows 10.9 - so really that should get an update

orta avatar Nov 06 '17 22:11 orta

Is there an update on this issue?

dhmspector avatar Nov 13 '17 13:11 dhmspector

I think there is a deeper issue with this one. Is there a way on Mac OS X 10.9 of enabling constraints without appending them to a view? Because the support to layout guides implies that the API should enable constraints for those without needing the reference view.

corujautx avatar Nov 13 '17 14:11 corujautx