CBLite Tool Installation Issue

I followed the below steps to install CBLite tool,

  1. Install the CMake tool with Homebrew ( brew install cmake )
  2. Clone the CBLite tool and, through the terminal, navigate to the ci folder.
  3. Make build.sh file executable ( chmod +X build.sh ) and run it ( ./build.sh )

Once I run ./build.sh, I’m getting some error and unable to move forward.

~/Ajith/CBTools/couchbase-mobile-tools/ci/cblite/build ~/Ajith/CBTools/couchbase-mobile-tools ~/Ajith/CBTools/couchbase-mobile-tools/ci
-- The C compiler identification is AppleClang 10.0.1.10010046
-- The CXX compiler identification is AppleClang 10.0.1.10010046
-- Check for working C compiler: /Applications/Xcode 10.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode 10.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- broken
CMake Error at /usr/local/Cellar/cmake/3.14.5/share/cmake/Modules/CMakeTestCCompiler.cmake:60 (message):
  The C compiler

    "/Applications/Xcode 10.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /Users/A6AH/Ajith/CBTools/couchbase-mobile-tools/ci/cblite/build/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/make cmTC_bcd2a/fast 
    /Applications/Xcode 10.2.1.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_bcd2a.dir/build.make CMakeFiles/cmTC_bcd2a.dir/build
    make: /Applications/Xcode: No such file or directory
    make: *** [cmTC_bcd2a/fast] Error 1
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:3 (project)


-- Configuring incomplete, errors occurred!
See also "/Users/A6AH/Ajith/CBTools/couchbase-mobile-tools/ci/cblite/build/CMakeFiles/CMakeOutput.log".
See also "/Users/A6AH/Ajith/CBTools/couchbase-mobile-tools/ci/cblite/build/CMakeFiles/CMakeError.log".
make: *** No rule to make target `cblite'.  Stop.
~/Ajith/CBTools/couchbase-mobile-tools ~/Ajith/CBTools/couchbase-mobile-tools/ci
~/Ajith/CBTools/couchbase-mobile-tools/ci

Any idea about this issue?

Probably has to do with that space in your folder name (Xcode 10.2.1.app). Rename it to (Xcode_10.2.1.app) if you must have it as the non-default name