Code problem or CircleCI bug?

I my iOS build I get this fail message for one of my tests:

error:use of undeclared identifier ‘myVar’

  • myVar is declared as a constant, there is nothing complex about it

  • The test runs OK in my Xcode

So could this be an error with CircleCI?