Combine cranberries, water, apples, sugar, onion, raisins, ginger, garlic, salt, allspice, cinnamon and cloves in a large sauce pan.
Bring to a boil over medium-high heat. Reduce heat; cover, stirring occasionally, for 15 minutes. Add corn syrup, vinegar and pecans. Cook uncovered for 15 minutes, stirring frequently.
Delicious served with roast turkey, pork roast or baked ham.
Pie is done when center reaches 200°F. Tap center surface of pie lightly – it should spring back when done. For easy clean up, spray pie pan with cooking spray before placing pie crust in pan. If pie crust is overbrowning, cover edges with foil.