Apple has zero restrictions about open source code running on iPhone - the poster is incorrect. Also, music sharing is entirely possible, just don't expect it to be supported as part of the first-party pipeline... the dev license itself doesn't prevent you (unless your purpose is to illegally share).