从XCode 4.6.2部署到iOS 7(beta)设备 [英] Deploy from XCode 4.6.2 to iOS 7 (beta) device

查看:100
本文介绍了从XCode 4.6.2部署到iOS 7(beta)设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我昨天安装了iOS 7以在我的iPhone 5中进行测试。问题是我现在无法将任何测试应用程序从XCode部署到我的iPhone,因为它说它的版本不受支持。我不能(或者不想)从iOS 7降级到6并且不希望(不能)将XCode升级到版本5,因为XCode 5 Beta不支持提交。

I installed iOS 7 yesterday to test in my iPhone 5. The problem is that I can't deploy now any test applications from XCode to my iPhone as it says it has an unsupported version. I can't (or don't want to) downgrade from iOS 7 to 6 and don't want (can't) upgrade XCode to version 5 as submitting is not supported with XCode 5 Beta.

那么如何将应用程序从XCode 4.6.2部署到iOS 7 Beta?

So how do I deploy apps from XCode 4.6.2 to iOS 7 Beta?

推荐答案

嗯,我不知道除了我,这对任何人都有帮助。但我已经能够使用Xcode 4.6.2部署到运行iOS 7的iPhone 5.我认为这是由于系统中的一个错误,但对我来说并不重要。它运作正常。现在,我这样做:

Well I don't know If this is of any help to anyone but me. But I have been able to use Xcode 4.6.2 to deploy to my iPhone 5 running iOS 7. I think it is due to a bug in the system but it doesn't matter to me. It works OK. Now to do this, I do as follows:


  1. 确保从App Store获得最新版本的Xcode。 (我不知道为什么,但为什么不呢?)

  1. Make sure you have the latest version of Xcode from the App Store. (I don't know why, but why not?)

下载并安装Xcode 5.

Download and Install Xcode 5.

关闭系统中运行的所有Xcode实例(4.6.2和5)

Close all instances of Xcode running in your system (4.6.2 and 5)

运行Xcode 5.您将看到它识别您的设备,你可能需要激活它再次使用它进行开发。

Run Xcode 5. you will see it recognizes your device, you probably have to activate it as use it for development again.

同时运行Xcode 4.6.2。您将看到它将您的iPhone识别为:使其成为开发的有效目标。

Run Xcode 4.6.2 simultaneously. You will see it recognizes your iPhone as in: make it valid target for development.

关闭或使用Xcode做任何您想做的事情5.从这一点开始你可以继续使用Xcode 4.6.2

close or do whatever you want with Xcode 5. From this point onwards You can keep using Xcode 4.6.2

我没有关闭电脑或长时间重启电脑我不知道这是侥幸还是什么。但与我合作的其他人也可以这样做,所以我希望它适合你。

I haven't turned my computer off or restarted it in a long time so I don't know if this is a fluke or what. But other people I work with have been able to do the same, so I expect it to work for you.

编辑:

更好。我发现有用的东西是从Xcode 4.6.x构建到iOS 7设备,实际上让手机在iOS6或之前运行它,这是所有应用程序运行的方式。所以我的猜测是,如果从应用商店部署,这将是你的应用在iOS 7中的样子。假设您的目标是iOS 4+

Better yet. Something I have found useful is building from Xcode 4.6.x to an iOS 7 device, actually makes the phone run it in iOS6 or before Mode which is the way all apps run at the moment. So my guess is that this would be what your app would look like in iOS 7 if deployed from the app store. Assuming you are targeting iOS 4+

同样,如果您使用Xcode 5构建相同的应用程序,它会尝试默认合并一些iOS 7外观代理,当然UI行为不同。当然,我没有玩Xcode 5,可能会在某处切换以打开和关闭此兼容模式。

Similarly, if you build the same app using Xcode 5, it tries to incorporate some iOS 7 appearance proxies by default and certainly the UI behaves differently. Granted I haven't played with Xcode 5 much, there is probably a toggle somewhere to turn this compatibility mode on and off.

这篇关于从XCode 4.6.2部署到iOS 7(beta)设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆