I'm sorry, but isn't this the reason?
from SUHost.m:
- (id)objectForInfoDictionaryKey:(NSString *)key { return [bundle objectForInfoDictionaryKey:key]; }
- (BOOL)boolForInfoDictionaryKey:(NSString *)key { return [[self objectForInfoDictionaryKey:key] boolValue]; }
You never check what type is returned. And exception occurs if this type is NSString. As I believe, a small fix like to check if returned value is NSString and if yes, to compare it explicitly with @"true" value could solve the issue.
Thanks.
I'm sorry, but isn't this the reason?
from SUHost.m:
- (id)objectForIn foDictionaryKey :(NSString *)key ctionaryKey: key];
{
return [bundle objectForInfoDi
}
- (BOOL)boolForIn foDictionaryKey :(NSString *)key ctionaryKey: key] boolValue];
{
return [[self objectForInfoDi
}
You never check what type is returned. And exception occurs if this type is NSString. As I believe, a small fix like to check if returned value is NSString and if yes, to compare it explicitly with @"true" value could solve the issue.
Thanks.