I need an iPhone. I use T-mobile currently. Can I use an unlocked iPhone for app store development? Or do I need to switch to AT&T? I tried to buy a refurbished iPhone from AT&T but they didn't approve my credit online, which is weird, since I bought a house recently? What are my options? I'm looking to buy a used iPhone as well now.