oleghnidets / TweeTextField

Lightweight set of text fields with nice animation and functionality 🚀
MIT License
491 stars 59 forks source link

AutoLayout crashes in the recent commits #21

Closed johnny77221 closed 6 years ago

johnny77221 commented 6 years ago

What did you do?

Updated to Xcode 10 beta 5

What happened instead?

The layout manager crashed on runtime with message 'Unable to activate constraint with anchors' either on viewDidLoad or when the field become editing

What did you expect?

work without crashing

Environment

Demo Project

ℹ (Optional) Please link to or upload a project I can download that reproduces the issue.

Note: I specify the build to commit 01c233ede811a7bb7e8ba7e3d0b5d83b44e1300d and the crash disappears

oleghnidets commented 6 years ago

Sorry, man. I will take a look ASAP. I have lack of time :(

johnny77221 commented 6 years ago

You’ve made a great job and saves everybody’s time, no need to be sorry :)

oleghnidets commented 6 years ago

Cannot currently check the issue. Waiting for official release of Xcode 10.

RaminderSinghiBay commented 6 years ago

Still crashes, even after downloading it and manually adding it project.

Birju-Bhatt commented 6 years ago

I am facing same issue. Any update guys ?

oleghnidets commented 6 years ago

Sorry guys, have lack of time now. I plan to start working on all issues these weekend. But if you want you can make PR, I review and merge it.

johnny77221 commented 6 years ago

I think I found the problem... the nil check should also apply to enablePlaceholderHeightConstraint func

@Birju-Bhatt @RaminderSinghiBay Would you help try out my version before merging?

pod 'TweeTextField', git:'https://github.com/johnny77221/TweeTextField.git', commit:'87d6580'
oleghnidets commented 6 years ago

I will post release of 1.5.1 a bit later.