我可以在 Xcode 4.2 和 iOS5 中构建 iOS 应用程序,然后在使用 iOS 4.3 的 iPhone 上测试该应用程序吗

发布于 2025-01-02 04:10:13 字数 141 浏览 0 评论 0原文

我可以在 Xcode 4.2 和 iOS5 中构建 iOS 应用程序,然后在运行 iOS 4.3 的 iPhone 上测试该应用程序吗?

我想使用 iOS5 和 Xcode 4.2 中的故事板功能,但我没有设备。我只能借用运行 iOS 4.3 的设备。

Can I build iOS apps in Xcode 4.2 and iOS5, then test the app on an iPhone running iOS 4.3?

I want to use the storyboard feature in iOS5 and Xcode 4.2, but I don't have a device. I can only borrow a device that runs iOS 4.3.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

緦唸λ蓇 2025-01-09 04:10:13

iOS 4.3 不支持故事板。

如果您已将部署目标设置为 4.3 或更低版本,则可以在 iOS 4.3 模拟器(或 iOS 4.3 设备上)进行测试。默认情况下,Xcode 4.2 不附带 iOS 4.3 模拟器。要安装它,请打开 Xcode 的“首选项”,然后单击“下载”选项卡,然后单击其下的“组件”选项卡。从那里您可以下载并安装 iOS 4.3 模拟器。

您还可以将您的应用程序发送给朋友进行测试。 Apple 在 中记录了这些步骤iOS 工具工作流程指南。您还可以使用 http://testflightapp.com/ 让您的朋友通过网络安装该应用程序。

Storyboards are not supported in iOS 4.3.

You can test in the iOS 4.3 simulator (or on an iOS 4.3 device) if you have set your deployment target to 4.3 or lower. Xcode 4.2 doesn't come with the iOS 4.3 simulator by default. To install it, open Xcode's Preferences and click the Downloads tab, and the Components tab under that. From there you can download and install the iOS 4.3 simulator.

You can also send your app to a friend for testing. Apple documents the steps in the Tools Workflow Guide for iOS. You can also use http://testflightapp.com/ to let your friend install the app over the network.

不离久伴 2025-01-09 04:10:13

是的,您将能够直接在 Xcode 4.2 中构建 iOS 5。但是,您需要将目标版本设置为 iOS 4.3。您还需要成为开发者计划的付费会员才能在设备上运行您的应用程序。有关更多信息,请参阅有关移动配置的 Apple 开发者门户文档。

Yes, you will be able to build in Xcode 4.2 directly for iOS 5. However, you will need to set the target version to iOS 4.3. You will also need to be a paid member of the developer program in order to run your applications on a device. See the Apple Developer Portal documentation on mobile provisioning for more info.

纵性 2025-01-09 04:10:13

故事板与 iOS 4 不兼容。 ARC 是兼容的,弱引用也是兼容的。

底线:对于您来说,您的应用程序不向后兼容,因为您使用故事板。如果您愿意,可以在 iOS 4.3 模拟器中测试您的应用程序,或者让其他人运行 iOS 5 来测试它。

Storyboards are not compatible with iOS 4. ARC is compatible, and weak references are also sort of compatible.

Bottom line: For you, your app is not backwards compatible because you use storyboards. If you'd like, test your app in a iOS 4.3 simulator, or have someone else test it running iOS 5.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文