I have actually written an iPhone/Desktop app to do this just. The GPS NMEA data is emulated rather than than "real", mostly because the iPhone doesn't have the option to spew out the NMEA data. It connects over the wireless network to a desktop application which displays it and creates a serial port out of it. I plan on releasing it soon.