Add the ketchup, sugar, applesauce, vinegar, apple juice, garlic powder, ground ginger, liquid smoke, onion powder, salt and apples to a medium saucepot and set over medium heat. Stir and bring to a simmer. Simmer for 15 to 20 minutes to reduce, then remove from the heat. Puree the sauce until smooth. Serve warm or cool and store refrigerated in an airtight container.