Google Analytics initialisation crash on iOS
<p>Been having a bit of an unusual crash when trying to set up Google Analytics in my app. The error itself isn't unknown (most iOS devs would be familiar with it), but seeing it come out of the initialisation of a widely-used third-party framework is.</p>

<pre><code>2016-06-09 11:15:19.549 &lt;ProjName&gt;[2937:204522] -[__NSCFNumber hasPrefix:]: unrecognized selector sent to instance 0xb000000000000003
</code></pre>

<p>This crash seems to be coming out of an attempt to initialise the GAI object, both accessing the shared instance object:</p>

<pre><code>let gai = GAI.sharedInstance()
</code></pre>

<p>or even manually initialising one (which is something I'd normally not do, but I'm running out of ideas)</p>

<pre><code>let gai = GAI()
</code></pre>

<p>Attempting to use the configuration file supplied by GA's setup guide and initialising it through the GGLContext object also creates an identical crash when calling configureWithError (presumably, this also initialises the GAI object the same way).</p>

<pre><code>var configureError: NSError?
GGLContext.sharedInstance().configureWithError(&amp;configureError)
assert(configureError == nil, "Error configuring Google services: \(configureError)")
</code></pre>

<p>I've tried this with both the cocoapods-installed version of GA, and manual installation of both the 3.15 and 3.13 versions of the SDK. The project is written in Swift under Xcode 7.3, with a deployment target of iOS 8.0. </p>

<p>Has anyone else encountered an identical problem, or does anyone have any ideas as to why this is affecting this project specifically, or what else I could try?</p>