Preheat the air fryer to 360 degrees F (180 degrees C).
Combine pecans, brown sugar, flour, and apple pie spice in a small bowl. Place apple wedges in a medium bowl; drizzle with butter and toss to coat. Arrange apples in a single layer in the air fryer basket and sprinkle with pecan mixture.
Cook in the preheated air fryer until apples are tender, 10 to 15 minutes.