Preheat your oven to 400°F (200°C).
Using a fork, pierce the sweet potatoes several times. Place them on a baking sheet lined with parchment paper.
Bake for 45 to 50 minutes, or until the potatoes are tender when pierced with a knife.
While the potatoes roast, melt the butter in a skillet over medium heat.
Add the diced apples, cranberries, brown sugar, cinnamon, nutmeg, and salt to the skillet.
Sauté for 8 to 10 minutes, stirring occasionally, until the apples are tender and the cranberries have burst to create a chunky sauce.
Stir in the chopped pecans and remove from heat.
Once the sweet potatoes are done, slice them open lengthwise and fluff the insides with a fork.
Spoon the warm apple-cranberry filling generously over each sweet potato and serve immediately.