Overworking the dough or a dry filling can cause cracks. Ensure your dough is smooth and don’t spread the filling excessively thick.