0

My app is crashing in iPhone 4S and iPhone 5S only, works fine in all other devices and simulators. Stack and log information

I have checked for IBOutlet connection issues also checked for keyPath values in User Defined Run time attributes section of the concerned view..

EDIT: I put breakpoint in ViewDidLoad () and ViewWillAppear () even that is not getting called. App crashes before that..

ibiren
  • 673
  • 6
  • 25

4 Answers4

1

Error Log clearly saying that you have problem with key-value for any class. Please check again. Or if you are storing anything in user default and update your code then you should first remove previous install app.

vivek bhoraniya
  • 1,526
  • 2
  • 17
  • 36
1

Open the xib or storyboard in xcode, select File's Owner and click on the Connection Inspector (upper right arrow), to see all outlets at once. Look for !s which indicates a missing outlet.

Anbu.Karthik
  • 82,064
  • 23
  • 174
  • 143
0

The issue is that you don't have a proper IBOutlet connnection to one of your viewController. Just go through with all the viewController connections in your xib files. Better unlink and link them again this might can solve the issue as every connection will be checked and connected again.

Jasmeet Singh
  • 564
  • 3
  • 9
0

Open the storyboard/xib corresponding to the viewcontroller/views in there. For each item, check the "User Defined Runtime Attributes" in the "Identity Inspector" (3rd tab on right pane) and check whether an attribute with "keypath" is created there.

Nithin
  • 6,435
  • 5
  • 43
  • 56