Swift-无法在目标Xcode 10中打开文件 [英] Swift - Unable to open file in target Xcode 10

查看:177
本文介绍了Swift-无法在目标Xcode 10中打开文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行从GitHub下载的Aplication.

I am trying to run Aplication which I have downloaded from GitHub.

当我遇到无法在目标中打开文件的错误时,我有Xcode 10.

When I run get error unable to open file in target, I have Xcode 10.

我已经在寻找解决方案并得到了它.

I already searched for solution and get this one.

我遇到了同样的问题,但是在Xcode 6.1.1中-对我来说,解决的问题是将两个与Pods相关的目标的配置文件设置更改为 None ,然后再次运行pod install

I had the same problem, but in Xcode 6.1.1 - what fixed it for me was to change the configuration file setting to None for the two Pods-related targets, then run pod install again.

通过选择项目(而不是目标),然后选择信息"选项卡,可以找到配置文件设置.

The configuration file setting is found by selecting the project (not the target) and then the Info tab.

但是找不到配置文件的位置.

But cant find configuration file location.

这是错误图片: https://i.stack.imgur.com/Ql3M5.png

推荐答案

在文件->工作区设置->选择旧版构建系统

In File -> Workspace setting -> select Legacy Build System

确保已正确安装打开的.xcworkspace文件和pod

make sure you have open .xcworkspace file and pod installed properly

这篇关于Swift-无法在目标Xcode 10中打开文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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