Tuesday, November 29, 2011

Google Analytics and iOS

Using Google Analytics to monitor how user's interact with iPhone and iPad apps has been enlightening. Google makes it easy to create a dashboard to quickly grok how an app is being used. It's very easy implement, just add a line of code anywhere you want to record an event. It hasn't introduced any issues (e.g. memory, app approval) in the three apps I've shipped it with. You can create unique web based dashboards for each app you wish to monitor.

Google's latest beta lets you monitor apps in real time - this is SO cool. You can see how many people are currently using an app, where they are in the app, if they are new or returning, and monitor page views in real time. Google provides a map of the world that shows each time a user starts using your app, you can even use Google Earth to spin the globe and highlight the location of each time a user starts to use your app. Some locations have a lot more users than sales, but that's another issue...

armv6

The iPhone, iPhone 3G, first and second generation iPod touch have CPUs that only support the armv6 instruction set. Xcode 4.2 no longer supports armv6 by default. Xcode 4.2 no longer defaults to supporting iOS 3.x, which accounts for about 7% of our users.


The iPhone 3G S, all iPads, and third-generation iPod touch have processors that support armv7.

Tuesday, November 8, 2011

dyld: Symbol not found: __NSConcreteGlobalBlock

This error occurs in Xcode 4.2 when building for pre iOS 4.0. The fix: Add '-weak_library /usr/lib/libSystem.B.dylib' to Build Settings->Linking->Other Link Flags.