0

Not sure what is the issue, and unable to find on goggle too. Application screen became black and app crashed.

-[BSMutableSettings applicationWillResignActive:]: unrecognized selector sent to instance 0x13ed05f20
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[BSMutableSettings applicationWillResignActive:]: unrecognized selector sent to instance 0x13ed05f20

Mohammad Zaid Pathan
  • 16,304
  • 7
  • 99
  • 130
  • can you show your code where you tried – Anbu.Karthik Jan 13 '16 at 10:28
  • Do you have main.m inside ObjC code? Maybe it's conflicting with your Swift code. – Josip B. Jan 13 '16 at 10:33
  • @JosipB.,No - I don't have that. – Mohammad Zaid Pathan Jan 13 '16 at 10:34
  • Can you search if someone explicitly calls applicationWillResignActive: method or forwards it's selector? Crash says that someone is trying to send applicationWillResignActive: message to instance of BSMutableSettings but indeed it should be AppDelegate instance. Does your app crash without ObjC library? – Josip B. Jan 13 '16 at 10:36
  • No, it doesn't. I have added child view controller of my library on actual app's viewcontroller. Library's childViewController is added beneath navigation bar, now when I click on navigation bar the app crashes. – Mohammad Zaid Pathan Jan 13 '16 at 10:46

0 Answers0