Error: No such module 'CommonCrypto'

Are you looking for help?

This is a support forum for reporting issues related to Backendless services. Please note that due to our support policy we cannot provide you help with debugging your code, consulting in regards to any language or third-party library usage. For this kind of questions we recommend using more appropriate forums like Stack Overflow.

In order to suggest you a quality solution, we shall usually ask you to provide the details mentioned below first. Including them into your topic right away helps us to start investigating your issue much faster.

In case you have a suggestion or an idea, the details below are not always required, though still any additional background is welcome.

Backendless Version (3.x / 5.x, Online / Managed / Pro )


Client SDK (REST / Android / Objective-C / Swift / JS )


Application ID


Expected Behavior

The project template app should build

Please describe the expected behavior of the issue, starting from the first action.

  1. Download the project template and unZIP it.
  2. Run ‘pod install’ and ‘pod update’ in the project folder
  3. Open the workspace file in Xcode and build the app

Actual Behavior

Please provide a description of what actually happens, working from the same starting point.

Be descriptive: “it doesn’t work” does not describe what the behavior actually is – instead, say “the request returns a 400 error with message XXX”. Copy and paste your logs, and include any URLs.

  1. Download the project template and unZIP it.
  2. Run ‘pod install’ and ‘pod update’ in the project folder
  3. The app fails to build with the following error message:

Swift Compiler Error
No such module ‘CommonCrypto’ WebSocket.swift

Reproducible Test Case

Please provide a simple code that could be run in a new clean app and reproduce the issue.

Just run your Template App on my version of Xcode (9.4.1) and it will happen.
Please help!

If the issue is more complex or requires configuration, please provide a link to a project on Github that reproduces the issue.

Quick follow-up. I think I fixed my own error, but it required that I modify your Podfile to force the app to use version 3.0.5 of the Starscream module. Why is that?

Hello Roger,

this issue is related to Socket.IO library which uses Starscream in its turn. Starscream library doesn’t support Xcode 9 (so Socket.IO also doesn’t support Xcode 9) anymore and we are keeping up to date with the Socket.IO lib updates.

There are also some discussions on the Socket.IO and Starscream github pages: