App fails in Ad-hoc build but works in debug build

9 views
Skip to first unread message

Vic

unread,
Jan 14, 2011, 1:57:34 PM1/14/11
to Skyhook Local Faves
My app is working fine in debug build (both on simulator and device)
but when I run it with Ad-hoc build it crashes after calling
[LocalFaves launchDashboardWithParent:self];


Unknown class LFWallCell in Interface Builder file.
2011-01-14 13:46:49.143 MyTestApp[25993:207] *** Terminating app due
to uncaught exception 'NSUnknownKeyException', reason:
'[<UITableViewCell 0x6cb90f0> setValue:forUndefinedKey:]: this class
is not key value coding-compliant for the key _distanceLabel.'

LFWallCell.xib appears to be in the project and works when in debug
mode. What can cause it to fail in ad-hoc mode?

num

unread,
Jan 19, 2011, 8:56:55 AM1/19/11
to Skyhook Local Faves
I had the same error. Solved it by adding "-ObjC -all_load" in linker
options.
Does it solve your problem?

Vic

unread,
Jan 19, 2011, 10:52:44 AM1/19/11
to Skyhook Local Faves
Thanks num, adding "-ObjC -all_load" in linker options solved it.
Reply all
Reply to author
Forward
0 new messages