我可以使用 Xcode 4 在第一代 iPod Touch 上测试我的应用程序吗?
您好,我有一个支持 iOS 3 的应用程序,但我只在 iPhone 4 上测试过它(我知道这是非常糟糕的做法)。最近在我的更新中,人们通过电子邮件告诉我,我的应用程序在他们仍在运行 iOS 3 的旧设备上崩溃了。我显然包含了仅在 iOS 4 SDK 中可用的功能,但我找不到它们在我的代码中的位置。
因此,为了解决这个问题,我从 eBay 购买了第一代 iPod touch(我还没有收到)。我是否能够在此 iPod touch 上构建并运行我的应用程序,或者我是否需要找到旧版本的 Xcode 和 iPhone sdk(即 Xcode 3.2.2)并使用它构建它?
Hi I have an app that supports iOS 3 however I've only ever tested it on an iPhone 4 (very bad practice I know). Lately in my updates people have been emailing me that my app is crashing on their older device, still running iOS 3. I am clearly including features only available in iOS 4 SDK but I can't find where they are in my code.
So to fix this I bought a first generation iPod touch from ebay (which I haven't received yet). Will I be able to build and run my app on this iPod touch or do I need to locate an older version of Xcode and the iPhone sdk (i.e Xcode 3.2.2) and build it using that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您尚未使用任何 iOS 4+ 特定 API,则可以使用 Xcode 4 在 iPod touch 上测试您的应用程序。
If you haven't used any iOS 4+ specific APIs, you can test your apps on the iPod touch using Xcode 4.