Category Archives: testing

Print a stack trace anytime

Here’s how to print a stack trace from code at any point in your app – no need to wait for a crash report! – NSLog(@"%@", [NSThread callStackSymbols]); That requires iOS 4.0+. There are some easy-to-use C functions that do the same thing: #import <execinfo.h> #import <unistd.h> void PrintStackTrace() {   void *stackAdresses[32];   int […]

Beta testing

This post gives a quick introduction to beta testing for iOS developers. ├é┬áSpecifically, I’ll walk through the major steps needed to legitimately send out a working copy of your app to testers without going through the app store – a process known as ad hoc distribution. Why beta test? All programmers become attached to their […]