“加载项目失败,项目版本不兼容"当我在 xcode 9.2 中从 xcode 9.3 的代码打开时出现弹出窗口 [英] "Failed to load Project , incompatible project version" pop up appears when I open from code of xcode 9.3 in xcode 9.2

查看:36
本文介绍了“加载项目失败,项目版本不兼容"当我在 xcode 9.2 中从 xcode 9.3 的代码打开时出现弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Xcode 9.3 中创建了一个项目,当我在 Xcode 9.2 中打开同一个项目时,它显示不兼容的项目版本".- 我更改了部署目标版本

I created a project in Xcode 9.3, and When I open the same project in Xcode 9.2, it shows "incompatible project version". - I changed deployment target version

它要求与团队一起登录以在 Xcode 9.3 中运行该项目.没有登录,它会显示错误并且没有被部署.

It asked to sign in with the team to run the project in Xcode 9.3. Without signing in, it shows error and does not get deployed.

推荐答案

如果可以打开Project

您可以简单地更改您的项目格式(如图像)

You can simply change your Project Format (like the image)

在 xcode 中单击您的项目文件并进行更改

Click to your Project File in xcode and change it

如果无法正常打开项目(projectName.xcodeproj)

按住 Control 键单击项目文件,选择 Show Package Contents,然后打开您的 project.pbxproj 文件并更改:

Control-click on the project file, select Show Package Contents, and then open your project.pbxproj file and make the change for:

compatibilityVersion
objectVersion

对于 Xcode 10.0

compatibilityVersion: "Xcode 10.0"
objectVersion :51

对于 Xcode 9.3:

compatibilityVersion: "Xcode 9.3"
objectVersion :50

对于 Xcode 8.0-9.2:

compatibilityVersion: "Xcode 8.0"
objectVersion: 48

您可以通过右键单击项目文件夹中的 .xcodeproj 文件,然后选择 Show Package Contents 来找到 project.pbxproj 文件代码>

You can find the project.pbxproj file by right clicking the .xcodeproj file in the project folder, then select Show Package Contents

这篇关于“加载项目失败,项目版本不兼容"当我在 xcode 9.2 中从 xcode 9.3 的代码打开时出现弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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