Pre-heat oven or air fryer to 200C°. Place the diced sweet potato cubes onto a lined baking tray (or air fryer basket) and spray with a little oil spray. Roast the sweet potato for around 15 minutes (oven)/10 minutes (air fryer), or until golden and cooked through, turning halfway.
While the sweet potato is cooking, place the pasta into a large pot of boiling, salted water (2 litres of water and one teaspoon salt) and cook according to the packet instructions, until al dente.
While the pasta is cooking, add the pine nuts to a dry pan and toast over medium heat, stirring frequently, until lightly browned. Remove the pine nuts from the heat and set aside.
Add the halloumi to the same pan and fry both sides, until golden brown. Set aside with the pine nuts.
Next, prepare the pasta sauce. Cook the oil and garlic together on low heat until soft and fragrant. Be careful not to burn the garlic.
Carefully remove 1 cup of water from the boiling pasta and set aside. Add the cream cheese to the pan with the garlic and pour the pasta water over the top. Stir until smooth and combined.
Remove the pan from the heat and add the pecorino cheese to the sauce. Stir until smooth and combined.
Add the spinach and stir until wilted. Taste the sauce and season with salt and pepper, to taste.
Add the drained pasta, roasted sweet potato, pine nuts and halloumi to the pan and stir. Test the consistency and add a little more reserved pasta water, if needed. Serve immediately with extra pecorino and cracked pepper. Enjoy!