Closed tal closed 5 years ago
Debug your app and add a breakpoint on exceptions / errors. Looks like you might be misusing private APIs
Hrm, I removed any extensions I had on any UIView or subclasses and still getting the issue.
Well, UIKit is calling setImage:
on a UIView. Something that is supposed to be a UIImageView is now a UIView. Comment out anything that messes with UISearchBars
Ya, digging it's nothing to do with your codebase, I wonder if one of the other pods I have messes with it. I don't touch anything with UISearchBar. Had that extension in there from when I was. Removed the extension and it's still broken unfortunately. ¯_(ツ)_/¯
Will loop back to this later.
Could you list which pods you're using, out of curiosity? It could be helpful to anyone else having this issue.
And if you can't figure out what's causing it I'd be happy to take a look if it's open source
here's my pod file. A cursory search of all the included files shows flex has the only mentions of UISearch
project 'weather-range.xcodeproj'
platform :ios, '10.0'
target 'weather-range' do
pod 'ReSwift'
pod 'Alamofire'
pod 'Then'
pod 'SwiftyBeaver'
pod 'Sourcery'
pod 'Result'
pod 'Purchases', modular_headers: true
pod 'FLEX', '~> 2.0', :configurations => ['Debug']
pod 'ActionKit', '~> 2.3.2'
pod 'NotificationBannerSwift'
pod 'Eureka'
pod 'TimeIntervals'
pod 'PopupDialog', '~> 0.7'
pod 'FileKit'
end
Hmmm. Is your codebase open source?
I just installed FLEX via cocoa pods and when I try to navigate to the file browser my app crashes with this stack trace. Any idea what the issue is? Seems to be the same bug as #237. I don't have any uses of UISearchBar in my codebase
Exception: