Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird temp error in Xcode 9 b5 #29

Closed
radianttap opened this issue Aug 19, 2017 · 3 comments
Closed

Weird temp error in Xcode 9 b5 #29

radianttap opened this issue Aug 19, 2017 · 3 comments

Comments

@radianttap
Copy link

If you are getting this:

TinyConstraints/Classes/Constraints.swift:40:33: 
Raw type 'LayoutPriority' (aka 'UILayoutPriority') is not expressible by any literal

on

public enum ConstraintPriority: LayoutPriority

then make sure your TinyConstraints CocoaPods target is marked to use Swift 3.2 and not Swift 4 which is default (SWIFT_VERSION in build settings).

I want my hour back. 😒

@roberthein
Copy link
Owner

Aah sorry man, if I could give you your hour back, I would.
I'll make an update tonight. ✌️

@radianttap
Copy link
Author

Ah, it's all fine. Just wanted to help anyone else that my encounter this problem

@roberthein
Copy link
Owner

I made a new branch with upcoming changes for Swift 4, you can check it out here:
https://github.com/roberthein/TinyConstraints/tree/release/swift-4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants