FeatureLayerEditingSample getting NSUnknownKeyException error when editing attributes

486
2
Jump to solution
11-18-2013 08:02 AM
KevinKingrey
New Contributor
Since upgrading to the new iOS api we are getting the following error when trying to edit features.

FeatureLayerEditingSample[1266:60b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<AGSAttributeCollectorViewController 0x17ef0be0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key titleLabel.'
*** First throw call stack:
(0x2f139f4b 0x399b06af 0x2f139c61 0x2fa7918b 0x2fa8add5 0x2f0a9e6f 0x31c0bf87 0x31b6d917 0x319cf389 0x318b11bd 0x318b1139 0x11361d 0x11d581 0x11cfab 0x319c98bb 0x31a7cf7b 0x3192cfb9 0x318a51f3 0x2f1051cd 0x2f102b71 0x2f102eb3 0x2f06dc27 0x2f06da0b 0x33d6e283 0x31911049 0xdad51 0x39eb8ab7)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

The error occurs regardless of which WebMap it is attached to.

Any help would be appreciated.

Thanks!
0 Kudos
1 Solution

Accepted Solutions
DiveshGoyal
Esri Regular Contributor
Kevin,

Can you ensure your project is referencing the latest version (v10.2) of ArcGIS.bundle, and not some old copy left behind by the last SDK?

View solution in original post

0 Kudos
2 Replies
DiveshGoyal
Esri Regular Contributor
Kevin,

Can you ensure your project is referencing the latest version (v10.2) of ArcGIS.bundle, and not some old copy left behind by the last SDK?
0 Kudos
KevinKingrey
New Contributor
That seems to have been the problem.  I uninstalled and then deleted everything to do with the SDK and reinstalled the 10.2 SDK.

Thanks for the help!
0 Kudos