lexrus / LTMorphingLabel

[EXPERIMENTAL] Graceful morphing effects for UILabel written in Swift.
MIT License
8.07k stars 782 forks source link

Failed to update auto layout status with LTMorphingLabel #71

Open isabella-rhyu opened 8 years ago

isabella-rhyu commented 8 years ago

Hi, I just updated to Xcode 8 and Swift 2.3 and the LTMorphingLabel, which had been working perfectly, started throwing the following error in my storyboard:

error: IB Designables: Failed to render and update auto layout status for UserViewController (IXY-6h-Cuw): dlopen(LTMorphingLabel.framework, 1): Symbol not found: __TMPVs19DictionaryGenerator Referenced from: LTMorphingLabel.framework Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/../../../../../../Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/libswiftCore.dylib in LTMorphingLabel.framework

This prevents selection of the ViewController containing the LTMorphingLabel from the TabBarController. I have tried removing and reinstalling it in my podfile and updating Cocoapods. Any help would be greatly appreciated. Thanks

LivioGama commented 7 years ago

I have the same problem. I'm seriously considering uninstalling this pod since it prevents me from working properly with IB Designable and IB Inspectable.

isabella-rhyu commented 7 years ago

Hi @LivioGama,

I was pressed for time with my project and ended up deciding to work with UILabel in order to adjust constraints and positioning in the storyboard, then changing the label's class to LTMorphingLabel at the last minute.

However, this is obviously less than a workaround, and if you have the time it may be worth writing a simple animation of your own, this tutorial http://swiftyeti.com/texteffects-with-nslayoutmanager/ looks relatively simple and could potentially be adapted to something like LTMorphingLabel or you could look at something like FlipLabel (https://github.com/beryu/FlipLabel) by @beryu, which looks wonderful.

I would like to add, however, that LTMorphingLabel has worked perfectly in production and the effects are incredibly well done.

Best of luck

LivioGama commented 7 years ago

Hi, I unfortunately don't have time to work on it. I ended up by uninstalling LTMorphingLabel. In addition you should know that LTMorphingLabel doesn't work well in production on iOS 8, tons of crash from Crashlytics.

lexrus commented 7 years ago

Guys, I'm so sorry for that inconvenience. But I'm busy working on my reallife job. I hope I have more spare time to contribute to this project. I have to say it's a experimental project. Please consider better alternatives until I remove this tag.

Back to this issue. Maybe it's related to https://github.com/CocoaPods/CocoaPods/issues/5334 ?