I was running my iPhone app just fine yesterday. Today I\'m getting this crash:
*** Terminating app due to uncaught exception \'NSGenericException\', reason: \'Thi
Thank you Tom Spee for saving so much of my time.
I had the exact same problem. I was just using carthage instead of cocoapods.
The issue was present in the InputMask library version 4.1.0 and the issue has been fixed in its version 4.1.1
For more information on the commit that fixed crash, here is the link: https://github.com/RedMadRobot/input-mask-ios/commit/c2f0d9bcc49567a6c0bcc4173dd410a969fcc423
I noticed that Xcode was updated in the time between working app and crashing app. I rolled back from Xcode 10.2 to 10.1 and now the crash is gone, app is working fine.
Rolling back was a workaround, not a fix.
The problem was in a pod I used (called Inputmask), the problem is fixed in the pod in the meantime and all works fine now with Xcode 10.2.