Yosemite share internet via wifi
You can not bridge from WiFi to WiFi. You'll have to connect to the internet via a different port if you want to share the connection. I'm assuming the reason you don't connect to the network directly with your iPhone is some kind of client limit. You could use a Wireless Router to connect to the WiFi and repeat and reroute it. If you use an Apple Airport make sure you disable bridge mode.