build for lidx on Xcode