code: function findXCodeProjectIn (projectPath) {
      // 'Searching for Xcode project in ' + projectPath);
      var xcodeProjFiles = shell.ls(projectPath).filter(function (name) {
          return path.extname(name) === '.xcodeproj';
      });
  
      if (xcodeProjFiles.length === 0) {
          return Q.reject('No Xcode project found in ' + projectPath);
      }
      if (xcodeProjFiles.length > 1) {
          events.emit('warn', 'Found multiple .xcodeproj directories in \n' +
              projectPath + '\nUsing first one');
      }
  
      var projectName = path.basename(xcodeProjFiles[0], '.xcodeproj');
      return Q.resolve(projectName);
  }
docs: Searches for first XCode project in specified folder
  @param  {String} projectPath Path where to search project
  @return {Promise}            Promise either fulfilled with project name or rejected