I'm getting this error while installing app to the iPhone 6. Device runs on iOS 12.2, XCode 10.2, Swift 5.
This copy of libswiftCore.dylib requires an OS version prior to 12.2.0. 2019-04-07 14:21:17.896723+0530 AvuruduwithNestomalt[254:4489] This copy of libswiftCore.dylib requires an OS version prior to 12.2.0. (lldb)
I added empty swift file to the project to fix this issue. but then i'm getting this error.
objc[265]: Swift class extensions and categories on Swift classes are not allowed to have +load methods