[DF - 185]: Add Polygon2Swig.cpp to MacOs and iOS projects.