In a medium baking dish, combine the apples, squash, oil, cinnamon, allspice, and ginger, tossing with your hands or a large spoon to ensure everything is evenly coated. Cover with a sheet of parchment paper and a layer of aluminum foil to seal the edges of the baking dish.