Issue

Application crashes with the following when running in iOS 5.x in the simulator.

013-06-29 11:06:03.732 LiveTRAXs[7163:c07] GoogleAnalytics 2.0b4 -[GAIDispatcher internalCreateTimer] (GAIDispatcher.m:195) DEBUG: Created timer to fire every 30.0s
2013-06-29 11:06:08.735 LiveTRAXs[7163:c07] *** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named NSLayoutConstraint'
*** First throw call stac

Solution

Check the XIB of ViewController where this crashes, most likely the layout uses AutoLayout.

AutoLayouts are available in iOS6 and above.

- Either downgrade the XIB layout to not use Auto Layout

- or create another XIB without Autolayout for 5.x clients

- or drop support for 5.x iOS for your app.<!>