![]() ![]() Objc: CLASS: realizing class 'NSObject' (meta) 0x7fff7c73a118 0x7fff7c739710 Objc: CLASS: realizing class 'NSObject' 0x7fff7c73a0f0 0x7fff7c739b18 Objc: CLASS: realizing class 'OS_dispatch_object' 0x1004d11d0 0x1004cfa80 Objc: CLASS: realizing class 'OS_dispatch_queue' 0x1004d12a8 0x1004cfbc8 Objc: CLASS: found 1568 classes during launch Now we can run our app one more time, and see if we can find our problematic class! Once there, we can add an environment variable with the name OBJC_PRINT_CLASS_SETUP and value of YES. Once in the scheme editing screen, we go into the Run action, and over to the Arguments tab. We can turn on this environment flag by editing our project’s scheme. The comment next to it is “log progress of class and category setup.” You can find it online where Apple keeps its open source stuff available. OBJC_PRINT_CLASS_SETUP is an Objective-C environment variable. ![]() ![]() This is a great help! If we do something with OBJC_PRINT_CLASS_SETUP, then we can find out what class is actually causing trouble in our system. Luckily, it wasn’t long until help was on the way! So what did I do? I gave up and complained about it on Twitter, like any self-respecting developer would, of course. There shouldn’t be anything wrong with that? Pinpointing the Problem ClassĪt this point I didn’t really know what to do. It’s only touching my app in 2 frames, where I am creating the object object. Wow! That is incredibly confusing and unhelpful to someone like me. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |