简体   繁体   English

如何在越狱的iPhone上测试iPhone应用程序?

[英]How can I test an iPhone app on my iPhone that is Jailbroken?

Unfortunately I went the route to jailbreak my iPhone in Thailand so I could use the SIM over there, but now that I'm back and in development mode needing to test an iPhone app I truly regret doing it. 不幸的是,我在泰国越狱了我的iPhone,因此可以在那儿使用SIM,但是现在我又回到开发模式并需要测试iPhone应用程序,对此我感到非常遗憾。

I have tried to restore the old iPhone version but can't seem to be able to do it, I get an error 1015 after trying to restore the iPhone. 我试图还原旧版iPhone,但似乎无法还原,尝试还原iPhone后收到错误1015。 I've pointed to a new firmware install and still get the same error. 我已经指出要安装新的固件,但仍然会出现相同的错误。

The only thing I can now do to get my iPhone to work is install another jailbroken OS on it (not sure if that is the right term, anyway it is sn0wbreeze_iPhone 3GS-4.3.1.ipsw Cydia). 现在,让我的iPhone正常工作的唯一方法是在其上安装另一个越狱的操作系统(不确定这是否是正确的术语,无论如何,它是sn0wbreeze_iPhone 3GS-4.3.1.ipsw Cydia)。

Does anyone know how I can test my iPhone app on this? 有谁知道我该如何测试我的iPhone应用程序? I'd need specific instructions as I'm new to this. 我需要新的特定说明。 Or even better, does anyone know how I can get rid of Cydia and just get the real firmware/os on it? 甚至更好的是,有人知道我如何摆脱Cydia并获得真正的固件/操作系统吗?

Thanks in advance 提前致谢

Have you checked if your /etc/hosts file has been modified with a line that prevent to check your iPhone against the Apple server? 您是否检查过您的/ etc / hosts文件是否已被修改为防止在Apple服务器上检查iPhone的行? If so you need to remove it. 如果是这样,您需要将其删除。 If you are on a windows OS you can check the location of the hosts file here: 如果您使用的是Windows操作系统,则可以在此处检查hosts文件的位置:

http://en.wikipedia.org/wiki/Hosts_(file ) http://en.wikipedia.org/wiki/Hosts_(file

Then you should be able to restore your iPhone back to the original firmware. 然后,您应该能够将iPhone恢复到原始固件。

This works for sure http://cellphones.about.com/od/howtoguides/ss/restore_iphone.htm 这可以肯定http://cellphones.about.com/od/howtoguides/ss/restore_iphone.htm

Also about testing your app. 也关于测试您的应用程序。 I suppose its on XCODE, well after you successful restoration. 我猜想它是在XCODE上成功恢复之后的。 You have to follow the official Apple Guide. 您必须遵循官方的Apple指南。 From the Developer Center. 从开发人员中心。 You do not have to pay the annual fee. 您不必支付年费。 Please tell me if you need something else. 请告诉我您是否还需要其他东西。

ps: i developed pwnmail on cydia. ps:我在cydia上开发了pwnmail。 So feel free to ask ;) 所以随便问;)

Alex Whittemore has a great set of tutorials for testing and debugging on jailbroken iPhones, for many versions of iOS and XCode. 亚历克斯·惠特莫尔(Alex Whittemore)提供了许多针对越狱iPhone进行测试和调试的教程,适用于许多版本的iOS和XCode。 Here you go.

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

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