You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build this using Carthage on XCode 9.4.1.
Getting the following errors:
publictypealiasLayoutAttribute=NSLayoutConstraint.Attribute~~~~~~~~~~~~~~~~~~ ^
/Users/wellington/Documents/Code/Censio/iOS/censio-ios-app/Code/Carthage/Checkouts/Cartography/Cartography/Context.swift:12:54: error: 'Relation' is not a member type of 'NSLayoutConstraint'
publictypealiasLayoutRelation=NSLayoutConstraint.Relation~~~~~~~~~~~~~~~~~~ ^
/Users/wellington/Documents/Code/Censio/iOS/censio-ios-app/Code/Carthage/Checkouts/Cartography/Cartography/LayoutProxy.swift:18:64: error: 'Attribute' is not a member type of 'NSLayoutConstraint'
internalfunc dimension(with attribute:NSLayoutConstraint.Attribute)->Dimension{~~~~~~~~~~~~~~~~~~ ^
/Users/wellington/Documents/Code/Censio/iOS/censio-ios-app/Code/Carthage/Checkouts/Cartography/Cartography/LayoutProxy.swift:22:59: error: 'Attribute' is not a member type of 'NSLayoutConstraint'
internal func edge(with attribute:NSLayoutConstraint.Attribute)->Edge{~~~~~~~~~~~~~~~~~~ ^
Did you mean to use NSLayoutAttribute.
Help!
The text was updated successfully, but these errors were encountered:
For anyone still having trouble with this: NSLayoutAttribute was renamed to NSLayoutConstraint.Attribute in Swift 4.2.
I opened a PR to add swift_version = 4.2 to the podspec, which will remove the requirement that Cartography is integrated into a target that also uses 4.2 (for those using Cocoapods, at least).
Trying to build this using Carthage on XCode 9.4.1.
Getting the following errors:
Did you mean to use
NSLayoutAttribute
.Help!
The text was updated successfully, but these errors were encountered: