Xcode 4.3.2 足以为 iOS 6 构建应用程序吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10986186/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 00:34:09  来源:igfitidea点击:

Will Xcode 4.3.2 suffice to build apps for iOS 6?

iosxcode

提问by tarheel

After today's announcement that iOS 6 Beta is available to developers today, I am wondering if I jump on the iOS 6 ASAP will I still be able to build my apps in progress on my device(iPhone) from Xcode 4.3.2? or will there be a required update for Xcode as well?

在今天宣布 iOS 6 Beta 今天可供开发人员使用之后,我想知道如果我尽快跳上 iOS 6,我是否仍然能够从 Xcode 4.3.2 在我的设备(iPhone)上构建我的应用程序?或者是否也需要对 Xcode 进行更新?

Update: Currently I have iOS 6 on my iPhone and Xcode 4.5 installed. After that the organizer in Xcode (4.3.2 and 4.5) said 'could not support development' in the Provisioning. Then fixed that, and now I have 4.3.2 saying that it is running my app on my iPhone, but its not showing up on my phone. And 4.5 gets to the 'TakingInstallLock' point in the process, and just keeps trying, but getting nowhere. Anyone else having this issue? Anyone know of a solution?

更新:目前我的 iPhone 上装有 iOS 6,并安装了 Xcode 4.5。之后,Xcode(4.3.2 和 4.5)中的组织者在 Provisioning 中说“无法支持开发”。然后解决了这个问题,现在我有 4.3.2 说它正在我的 iPhone 上运行我的应用程序,但它没有显示在我的手机上。并且 4.5 在此过程中到达了“TakingInstallLock”点,并且一直在尝试,但一无所获。还有谁有相同的问题吗?有人知道解决方案吗?

采纳答案by mccrager

You can push apps to your phone from Xcode 4.3.x if your phone is running the iOS 6 Beta.

如果您的手机运行的是 iOS 6 Beta,您可以将应用从 Xcode 4.3.x 推送到您的手机。

You cannot, however, utilize any of the iOS 6+ frameworks such as the new Social framework from within Xcode 4.3.x

但是,您不能在 Xcode 4.3.x 中使用任何 iOS 6+ 框架,例如新的 Social 框架

回答by Lennert

I can't comment yet so this is to confirm that installing Xcode 4.5 DP acutally installs the iOS 6 SDK for Xcode 4.3.2 as well. This is rather obvious as SDK files are installed in a general place (namely the Library folder) of OSX.

我还不能发表评论,所以这是为了确认安装 Xcode 4.5 DP 实际上也安装了适用于 Xcode 4.3.2 的 iOS 6 SDK。这很明显,因为 SDK 文件安装在 OSX 的一般位置(即 Library 文件夹)。

The steps to use your updated iOS 6 device for development with Xcode 4.3.2 thus are:

使用更新的 iOS 6 设备进行 Xcode 4.3.2 开发的步骤如下:

Download Xcode 4.5 DP from the dev area of apple.com.

从apple.com 的开发区下载Xcode 4.5 DP。

Install Xcode 4.5

安装 Xcode 4.5

Start up Xcode 4.3.2

启动 Xcode 4.3.2

Open up the devices section, choose your device for development, wait for the process of fetching information to finish and you are good to go.

打开设备部分,选择你的设备进行开发,等待获取信息的过程完成,你就可以开始了。

Regards!

问候!

回答by Kaan Dedeoglu

Any apps that you write using beta software will be rejected. To translate, if you use iOS 6 SDK beta or the new Xcode beta that gets released today, your app will be rejected even if you make a build for just iOS 5.

您使用测试版软件编写的任何应用程序都将被拒绝。换句话说,如果您使用 iOS 6 SDK 测试版或今天发布的新 Xcode 测试版,即使您仅针对 iOS 5 进行构建,您的应用程序也会被拒绝。

回答by Darren

I installed iOS6 and Xcode 4.3.2 didn't recognize my device. After installing Xcode 4.5 beta and letting it install a few things, 4.3.2 now recognizes my device and I can carry on building and testing on my iOS6 device.

我安装了 iOS6 并且 Xcode 4.3.2 无法识别我的设备。安装 Xcode 4.5 beta 并让它安装一些东西后,4.3.2 现在可以识别我的设备,我可以在我的 iOS6 设备上继续构建和测试。

回答by 278204

I would say no! I updated last night and now I can't run my app on my phone.

我会说不!我昨晚更新了,现在我无法在手机上运行我的应用程序。