How do I sync Google Tasks to an iPhone?
There doesn't currently appear to be a way.  If you're willing to use an alternative to the built-in iOS Reminders, there's gTasks.

There is more information in the answers to this duplicate question: Sync Google Tasks with iOS Reminders?