No it won't mess with your iPhone. I did a clean install of Leopard (erased my drive and installed) and set up all my info before plugging my iPhone in and it worked fine. If you're going to bring your iTunes library back over to your new Leopard install, do it before you plug your iPhone in, just in case that makes any difference.