Xplane will connect to Foreflight and WingX using the wi-fi link. I have been flying Xplane with WingX for about a month now. It is unbelievable how much you are able to learn about the software when you can fly simulated flights with the iPad believing you are in a real environment. I'm still in the Demo time period with WingX, connected to Xplane I get GPS, Geo-referenced charts, AHRS, basically there is everything in the flight sim except for any ADS-B (that would be really cool to see the weather displayed) and traffic Xaon...
My demo is over Jan 8, I'll be subscribing to all on xplane but the AHRS (since I don't have a AHRS device). I will update here after that time to let you know if AHRS stays available in Xplane.