简体   繁体   English

xcode无法将其他项目添加到工作区中

[英]xcode can't add additional project into workspace

When adding a new project into workspace it is not possible to expand it, it is not compilable, and it's related files are not accessible, it seems as if xcode treat it as a resource file ( although it is able to resolve the proper icon ). 将新项目添加到工作空间时,无法对其进行扩展,无法编译,并且无法访问相关文件,似乎xcode将其视为资源文件(尽管它能够解析正确的图标) 。

This is the way I add the proj 这是我添加项目的方式

  1. xcode->File->Add Files to "%ProjName%" xcode->文件 - >将文件添加到“%ProjName%”
  2. Select the project file 选择项目文件

What am I doing wrong here ? 我在这做错了什么?

问题是我在另一个IDE中添加了项目,其他IDE已关闭解决了问题

Right click on your project & select new project give name which adds new project in your workspace. 右键单击您的项目并选择新项目名称,在工作区中添加新项目。 See image for reference. 见图片以供参考。

看这里 .

You can also add new project by drag & drop. 您还可以通过拖放添加新项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM