Mix the spices, salt, and pepper. Rub it onto the surface of the pork ribs.
Set the air fryer to 375 degrees F or a medium heat setting. Place the ribs on the basket, leaving at least a 1/4th inch gap between the pieces.
Cook for 20 minutes. Take the ribs out of the fryer basket with tongs. Set the air fryer to 400 degrees F or a high heat setting. Brush the barbecue sauce on the ribs, then cook them for 3 to 5 minutes. Serve immediately.
Notes
Add half a teaspoon of crushed red pepper flakes for some extra spice.