title: Crash in iOS: XPC API Misuse
body: <p>We have a crash in our iOS app reported by crashlytics:</p>
  
  <blockquote>
    <p>Crashed: XPC API Misuse: Attempt to send a message expecting a reply to (com.apple.networking.connection.0x46bf35a0)</p>
  </blockquote>
  
  <p>The stack trace is:</p>
  
  <pre><code>Thread : Crashed: XPC API Misuse: Attempt to send a message expecting a reply to  (com.apple.networking.connection.0x46bf35a0)
  0  libxpc.dylib                   0x35cc534a _xpc_api_misuse + 41
  1  libsystem_c.dylib              0x35ba49e5 __strlcpy_chk + 48
  2  libxpc.dylib                   0x35cb5f75 _xpc_serializer_create + 158
  3  libxpc.dylib                   0x35cb5ea1 xpc_connection_send_message + 60
  </code></pre>
  
  <p>It happened under iOS 9.0.2 on a iPhone 5. We are not able to reproduce the crash and we have no idea how to start debugging/fixing. It seems that we are <a href="https://forums.developer.apple.com/thread/20724">not alone with this</a>.</p>
  
  <p>Maybe somebody here has any ideas.</p>