简体   繁体   English

在没有SIM卡的iPhone设备上进行测试

[英]Testing on iPhone device without SIM card

I have an iPhone 3G that worked fine for development on iOS 3. I just updated to iOS 4.1.2, and Xcode Organizer tells me This device is not activated. Please activate it using iTunes 我有一个适用于iOS 3开发的iPhone 3G。我刚刚更新到iOS 4.1.2,Xcode Organizer告诉我This device is not activated. Please activate it using iTunes This device is not activated. Please activate it using iTunes . This device is not activated. Please activate it using iTunes I've restored twice now. 我现在已经恢复了两次。

iTunes tells me to insert a SIM to activate it—however, I don't want to activate it. iTunes告诉我插入SIM卡来激活它 - 但是,我不想激活它。 This iPhone is for development only. 这款iPhone仅供开发使用。 The phone itself says "No SIM Card Installed. Insert a valid SIM with no PIN lock to activate iPhone." 手机本身显示“未安装SIM卡。插入有效的SIM卡,无PIN锁定即可激活iPhone。”

How can I get the "please activate" message to go away so that I can use it for development? 如何获取“请激活”消息以便我可以将其用于开发?

Edit - I do not have a standard SIM card that I could put in temporarily. 编辑 - 我没有可以临时放入的标准SIM卡。 All I have is a micro SIM for my iPhone 4. 我只拥有iPhone 4的微型SIM卡。

All you have to do is insert any SIM card, active or not, get the device set up, and then take the SIM card out. 您所要做的就是插入任何SIM卡,无论是否有效,设置设备,然后取出SIM卡。 It should work fine from there (I use a no-SIM 3G for testing 4.2.1). 它应该可以正常工作(我使用无SIM 3G进行4.2.1测试)。

Depending on if the phone is locked with a carrier, you may need a carrier specific SIM. 根据手机是否与运营商锁定,您可能需要特定于运营商的SIM卡。 You can buy SIM cards from carriers' stores for a $5-$10. 您可以从运营商的商店购买SIM卡,价格为5至10美元。 The SIM doesn't have to be associated with an account or phone number. SIM卡不必与帐户或电话号码相关联。 I've definitely had sales associates look at me funny when I try to buy a SIM with no account. 当我尝试购买没有账号的SIM卡时,我肯定让销售人员看着我好笑。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM