compile by xcode pass