The app began to crash on iOS 9.1 Beta 2

The application started crashing when installed on iOS 9.1 Beta 2. The exact same binary file (downloaded from the hudson link) behaves like this:

  • This is not a crash on iOS 9.0 and iOS 9.0.1
  • This is not a failure on iOS 8

I retrieved the failure log, the call failed in [[NSBundle mainBundle] loadNibNamed:@"NameOfView" owner:self options:nil];. The accident itself NSUnknownKeyException:

*** Application termination due to the uncaught exception "NSUnknownKeyException", reason: "[<NameOfView: 0x1446a6ea0> setValue: forUndefinedKey:]: this class is not a key value compatible with the code for the key. '

So far I see a strange key '.'that the nib boot mechanism is trying to install in my class, and obviously this is not in nib. And it looks even more unusual, due to iOS 9.1 beta 2 - the only version with this behavior. Moreover, creating an application with Xcode 7 from the same git version does not succeed if the application crashes - it works as expected. Has anyone experienced this behavior after trying to release versions on iOS 9.0.1 beta 2? Want to get some feedback from the SO community before the file is detected on the radar. Appreciate your help guys.

P.S. , . XCode 7 . , , , ​​, ..

9.1, .

+4
1

, .

openradar: http://openradar.appspot.com/radar?id=6294934587965440

9.1.

:

  • KVC setValue:forKey: .
  • SDK .

, Apple .

9.1, .

+1

Source: https://habr.com/ru/post/1609174/


All Articles