Closed ahmedk92 closed 5 years ago
Which version of the library are you using?
1.3.3
*** Terminating app due to uncaught exception 'NSGenericException', reason: 'Access to UITextField's _placeholderLabel ivar is prohibited. This is an application bug'
*** First throw call stack:
(0x1958dc98c 0x1956050a4 0x1957d2054 0x199c2efe8 0x199bad6f4 0x195b97778 0x101af0708 0x104406c04 0x1044084f4 0x101af065c 0x101af0950 0x101af0d68 0x195bbf480 0x199d747d0 0x19959614c 0x1957b6ddc 0x199595bfc 0x1992dcb4c 0x1992dd5d8 0x1992dd890 0x1992ddf94 0x19923d804 0x199250de8 0x1992522ec 0x199236060 0x199d75270 0x19c2615f8 0x19c265e28 0x19c271894 0x19c1ba9f0 0x19c1e4890 0x19c1e5284 0x195859c48 0x195854b34 0x195855100 0x1958548bc 0x19f6c0328 0x1998ea6d4 0x100b9f370 0x1956df460)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
@ahmedk92, that is weird. There is no usage of value(forKey:)
in 1.3.3. How did you install the library?
@vsevolod-sp are you using the latest version of the library? UITextView+Placeholder doesn't access to _placeholderLabel
anymore.
Via CocoaPods: pod 'UITextView+Placeholder'
Latest version (1.2.1 or 1.2.2), problem appeared in iOS 13
@ahmedk92 can you share your Podfile.lock
?
@vsevolod-sp the latest version is 1.3.3.
Weird. I checked it now and it's UITextView+Placeholder (1.2.1)
in the Podfile.lock
file. I believe I was using the 1.3.3
version. However, It's weekend here, and I'm returning on Monday. I'll then retry and report to you.
Any solution for this yet? Edit: did a clean after updating the pod - to 1.3.3 and it worked fine. (if anyone else freaks out in the future)
Was having the same crash as OP and I can confirm updating to latest 1.3.3 solves the problem This issue should be closed
Please reopen this issue if you still have the problem after upgrading the library to 1.3.3 and clean build.
Backtrace: