build mac and iOS