[PD] how to build externals in xcode?