{"action":"created","issue":{"url":"https://api.github.com/repos/SnapKit/SnapKit/issues/531","repository_url":"https://api.github.com/repos/SnapKit/SnapKit","labels_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/531/labels{/name}","comments_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/531/comments","events_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/531/events","html_url":"https://github.com/SnapKit/SnapKit/issues/531","id":350583342,"node_id":"MDU6SXNzdWUzNTA1ODMzNDI=","number":531,"title":"Compilation error: Use of undeclared type 'LayoutAttribute'","user":{"login":"dagerydoo","id":808607,"node_id":"MDQ6VXNlcjgwODYwNw==","avatar_url":"https://avatars0.githubusercontent.com/u/808607?v=4","gravatar_id":"","url":"https://api.github.com/users/dagerydoo","html_url":"https://github.com/dagerydoo","followers_url":"https://api.github.com/users/dagerydoo/followers","following_url":"https://api.github.com/users/dagerydoo/following{/other_user}","gists_url":"https://api.github.com/users/dagerydoo/gists{/gist_id}","starred_url":"https://api.github.com/users/dagerydoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagerydoo/subscriptions","organizations_url":"https://api.github.com/users/dagerydoo/orgs","repos_url":"https://api.github.com/users/dagerydoo/repos","events_url":"https://api.github.com/users/dagerydoo/events{/privacy}","received_events_url":"https://api.github.com/users/dagerydoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-14T20:22:08Z","updated_at":"2018-08-14T20:37:36Z","closed_at":"2018-08-14T20:37:36Z","author_association":"NONE","body":"### New Issue Checklist\r\n\r\n* [X] I have looked at the [Documentation](http://snapkit.io/docs)\r\n* [X] I have read the [F.A.Q.](http://snapkit.io/faq)\r\n* [X] I have filled out this issue template.\r\n\r\n### Issue Info\r\n\r\n Info                    | Value                               |\r\n-------------------------|-------------------------------------|\r\n Platform                | ios\r\n Platform Version        | Xcode 9.4.1; Target: iOS 10+/Swift 4.1\r\n SnapKit Version         | 4.0.0\r\n Integration Method      | cocoapods\r\n \r\n\r\n### Issue Description\r\n\r\nBuilding with a fresh pod install of `SnapKit` `4.0.0`, I am getting 7 compilation errors, with this line being a good example:\r\n\r\n```\r\n    internal func constraintConstantTargetValueFor(layoutAttribute: LayoutAttribute) -> CGFloat {\r\n ```\r\n\r\nThe error is:\r\n\r\n> Use of undeclared type 'LayoutAttribute'\r\n\r\nLooking for LayoutAttribute in the source:\r\n\r\n```bash\r\n$ grep -r LayoutAttribute Pods/SnapKit/\r\nPods/SnapKit//Source/ConstraintAttributes.swift:    internal var layoutAttributes:[LayoutAttribute] {\r\nPods/SnapKit//Source/ConstraintAttributes.swift:        var attrs = [LayoutAttribute]()\r\nPods/SnapKit//Source/ConstraintConstantTarget.swift:    internal func constraintConstantTargetValueFor(layoutAttribute: LayoutAttribute) -> CGFloat {\r\nPods/SnapKit//Source/Constraint.swift:            let layoutToAttribute: LayoutAttribute\r\nPods/SnapKit//Source/Constraint.swift:                let updateLayoutAttribute = (updateLayoutConstraint.secondAttribute == .notAnAttribute) ? updateLayoutConstraint.firstAttribute : updateLayoutConstraint.secondAttribute\r\nPods/SnapKit//Source/Constraint.swift:                updateLayoutConstraint.constant = self.constant.constraintConstantTargetValueFor(layoutAttribute: updateLayoutAttribute)\r\nPods/SnapKit//Source/Debugging.swift:private func descriptionForAttribute(_ attribute: LayoutAttribute) -> String {\r\n```\r\n\r\nI don't see a `typealias` declaration, such as found in [Source/Typealiases.swift](https://github.com/SnapKit/SnapKit/blob/4.0.0/Source/Typealiases.swift). Did I just happen to hit `pod install` at the wrong time?"},"comment":{"url":"https://api.github.com/repos/SnapKit/SnapKit/issues/comments/413007709","html_url":"https://github.com/SnapKit/SnapKit/issues/531#issuecomment-413007709","issue_url":"https://api.github.com/repos/SnapKit/SnapKit/issues/531","id":413007709,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzAwNzcwOQ==","user":{"login":"dagerydoo","id":808607,"node_id":"MDQ6VXNlcjgwODYwNw==","avatar_url":"https://avatars0.githubusercontent.com/u/808607?v=4","gravatar_id":"","url":"https://api.github.com/users/dagerydoo","html_url":"https://github.com/dagerydoo","followers_url":"https://api.github.com/users/dagerydoo/followers","following_url":"https://api.github.com/users/dagerydoo/following{/other_user}","gists_url":"https://api.github.com/users/dagerydoo/gists{/gist_id}","starred_url":"https://api.github.com/users/dagerydoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagerydoo/subscriptions","organizations_url":"https://api.github.com/users/dagerydoo/orgs","repos_url":"https://api.github.com/users/dagerydoo/repos","events_url":"https://api.github.com/users/dagerydoo/events{/privacy}","received_events_url":"https://api.github.com/users/dagerydoo/received_events","type":"User","site_admin":false},"created_at":"2018-08-14T20:37:36Z","updated_at":"2018-08-14T20:37:36Z","author_association":"NONE","body":"I removed SnapKit and re-added it, and everything is fine now. Must have been some transient issue. Closing..."}}
{"actor":{"display_login":"dagerydoo"}}