Eureka
Eureka copied to clipboard
NSInvalidArgumentException +[UIImage systemImageNamed:] 13.0.0 <= iOS version < 13.4.0
pod 'Eureka', '~> 5.2.1'
- Make sure you are using Eureka latest release or master branch version.
- Make sure your Xcode version is the latest stable one.
Issue not previously reported
- Check if the issue was already reported or fixed. We add labels to each issue in order to easily find related issues. If you found a match add a brief comment "I have the same problem" or "+1".
-
Environment: Eureka 5.2.1 Xcode 11.4.1 13.0.0 <= iOS version < 13.4.0
-
Stack trace from Crashlytics
-
Eureka form/section/row code
My team and I concluded that Apple is at fault here for the following reasons,
- We didn't see it happening in iOS versions > 13.4.0 so Apple might have fixed the issue
- This was not the only selector/property iOS failed to recognize in 13.0.0 <= iOS version < 13.4.0. We observed that some other selectors and properties introduced in iOS 13 were also throwing the same error and result in a crash. e.g. UISearchTextField property of UISearchBar also caused the same problem in 13.0.0 <= iOS version < 13.4.0.
The solution is to check the minor version also.
if #available(iOS 13.4.0, *)
I'm reporting this here thinking that it will help someone.
Thanks for reporting this and for the investigation too.
Hey @Tulakshana I've tried to replicate your issue but I couldn't. I'm using Xcode 11.5 and an iOS 13.1.3 device. Can you send an example code where the issue happens?
@nicolantean, we were also not able reproduce it ourselves. Only evidence we have is the crash report.
Does that crash happen to all your users that have iOS devices with versions between 13.0 and 13.4 or only some specific ones?
Good question. Looks like it is a subset.
We are seeing this issue on > iOS 14. Cannot repro, just seeing it in crash logs.

Yes, we also ended up commenting out code specific iOS 13 and above.
In my case, it happens with Jailbroken devices.
