I recommend you create a Plane at each rib.  Use the Planes to Slice the wing surface into multiple bodies. Select all the bodies and Form New Part. Now Shared Topology will be used to find coincident edges and during meshing, they will share common nodes and the ribs will be connected to the wing.