加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

iOS 7不再使用XCode 4.6.3

发布时间:2020-12-14 19:35:21 所属栏目:百科 来源:网络整理
导读:我有XCode版本4.6.3并且刚刚将我的iPhone 4上的操作系统升级到iOS 7.当我尝试在我的设备上运行我的代码时,我收到以下错误: Xcode cannot run using the selected device. No provisioned iOS devices are available with a compatible iOS version. Connect
我有XCode版本4.6.3并且刚刚将我的iPhone 4上的操作系统升级到iOS 7.当我尝试在我的设备上运行我的代码时,我收到以下错误:

Xcode cannot run using the selected device.

No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to
run your application or choose an iOS simulator as the destination.

在管理器中,我看到以下消息:

The version of iOS on “My Phone’s Name” is not supported by this
installation of the iOS SDK. Please restore the device to a version of
the OS listed below,or update to the latest version of the iOS SDK;
which is available here.

这里的链接只是提示我登录会员中心,不会让我关注最新的SDK.

我的部署目标是iOS 6.1,我不想将其提升到7.0,因为我们的大多数用户都在iOS 7之前.我正在运行OS X版本10.8.3,我可以升级我的SDK吗?我一定要吗?我怎样才能使我的SDK与iOS 7和iOS 7之前的设备兼容?

解决方法

使用iOS7进行开发需要您升级到Xcode 5,您可以在Mac App Store中免费找到它.

您仍然可以使用Xcode 5将部署目标保持在7.0以下.

如果你没有配备iOS 6.x的开发iPhone,你可以进入Xcode>偏好>下载以安装iOS6模拟器,命令行工具和任何其他文档.

更新1

如果您将手机更新到iOS 7.1,则还需要将您的Xcode版本更新为5.1

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读