X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/88c6482ce16260e6c33c305fdaf79b36f6da4090..18ed94e47191c28a6fc233ee9a7b22eb0f3acb34:/ObjectiveC/Library.mm diff --git a/ObjectiveC/Library.mm b/ObjectiveC/Library.mm index 9b242d8..74931c0 100644 --- a/ObjectiveC/Library.mm +++ b/ObjectiveC/Library.mm @@ -2529,6 +2529,9 @@ void CYObjectiveC_Initialize() { /*XXX*/ JSContextRef context(NULL); CYPoolTry { #ifdef __APPLE__ NSCFBoolean_ = objc_getClass("NSCFBoolean"); + if (NSCFBoolean_ == nil) + NSCFBoolean_ = objc_getClass("__NSCFBoolean"); + NSCFType_ = objc_getClass("NSCFType"); NSGenericDeallocHandler_ = objc_getClass("__NSGenericDeallocHandler"); NSMessageBuilder_ = objc_getClass("NSMessageBuilder");