ForeFlight is able to be used in connection with X-Plane. You will need X-Plane version 10.11 or newer.
To connect ForeFlight to X-Plane, perform the following:
STEP 1. Start X-Plane on your computer and start a flight.
Note: X-Plane will not show in the MORE > DEVICES view of ForeFlight unless an X-Plane flight has been started.
STEP 2. In the X-Plane menu bar, click the Settings button on the far right.
Go to the menu bar and click the Settings button
STEP 3. When the Settings window opens, choose Network, then click the "+" next to the iPhone & IPAD tab and check the box next to "Broadcast to all copies of ForeFlight..."
Note: If using the "Transmit to a single copy of ForeFlight..." option in X-Plane, tap the "i" button in ForeFlight > MORE > DEVICES to see your iPad's IP address. Enter that IP address in the box on the X-Plane setup screen. Use UDP port 49002 or 49001.
Note: If using FlyThisSim and you need AHRS data to display in ForeFlight, choose the "Send GPS data... to ONE iPad..." option in X-Plane. Tap the "i" button in ForeFlight > MORE > DEVICES to see your iPad's IP address. Enter that IP address in the box on the X-Plane Settings screen. Use UDP port 49002 or 49001.
IMPORTANT: 127.0.0.1 is NOT your iPad's IP address. Enter the other address.
Go to the iPhone/iPad tab and check the box next to "Broadcast to all copies of ForeFlight..."
STEP 4. Open ForeFlight, tap on MORE > DEVICES, and then tap on the X-Plane box.
NOTE: when using X-Plane version 11, the flight simulator connection sometimes appears as "1" or "2" instead of "X-Plane."
Go to MORE > DEVICES and tap on the X-Plane box
STEP 5. Tap on X-PLANE. Make sure the ENABLED switch is ON.
Turn the ENABLED switch to ON
STEP 6. Once X-Plane is Enabled, accuracy will be reported as "Accuracy (X-Plane) 1m".
X-Plane will show "1m" in the ACCURACY instrument when X-Plane is connected
Symptom: Position in ForeFlight Mobile "jumping" or "lagging" behind the position in the simulator.
Turn Location Services OFF for ForeFlight Mobile, in APPLE SETTINGS > PRIVACY > LOCATION SERVICES.
IMPORTANT: Remember to re-enable Location Services for ForeFlight Mobile when the simulator session is complete.
Symptom: Position not showing in ForeFlight Mobile.
The link to ForeFlight Mobile will not work correctly if a "XAVION OR FLYQ" connection is active to that iPad or iPhone. A symptom of this is instead of seeing "X-Plane" on MORE > DEVICES (per step 4) you see "ADS-B".
To fix this, remove all "XAVION OR FLYQ" connections, and also any "Control Pad" connections.
If this doesn't work, try clicking the "Reset UDP Ports" button: