Preheat air fryer to 400. Spray basket with cooking spray.
Rub pork with oil and season with salt and pepper.
Place pork into the air fryer basket. Cook for 30 minutes. Flip. Cook an additional 20 minutes or until 135-140 when checked with an internal thermometer. Because a crust forms on the outside the internal temp will continue to rise 10-15 degress when resting.