RandyMcMillan/cordova-ios — comment on commit ae48515c8d6a40af70f5fa215b844e3ce0f4e6f5
File:  line 0
By purplecabbage:

Since localhost is only available in a simulator build, we could just add a conditional on TARGET_IPHONE_SIMULATOR