As far as I understand it, all iPhone users may install arbitrary software if they: pay an annual tax to Apple to be a "developer" and install suitable software (which appears to be $0 for OS X) or get someone else to do so on their behalf.
Having done this you can use GPL'd software on your iPhone, you can modify it and install the modified versions, and you can redistribute the source code to other people in a similar situation.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds