Objective c 前缀文件不用于测试
当我最初设置我的项目时,我将文件移动到我喜欢的位置。我修复了我的Info.plist文件来处理我的构建(调试版、测试版、发行版)。一切正常。但现在我正试着写我的测试,结果总是失败 它给了我这个错误:Objective c 前缀文件不用于测试,objective-c,xcode,xctest,Objective C,Xcode,Xctest,当我最初设置我的项目时,我将文件移动到我喜欢的位置。我修复了我的Info.plist文件来处理我的构建(调试版、测试版、发行版)。一切正常。但现在我正试着写我的测试,结果总是失败 它给了我这个错误: clang: error: no such file or directory: '/path/to/apps/ios/App/App/App-Prefix.pch' clang: error: no input files Command /Applications/Xcode.app/Conte
clang: error: no such file or directory: '/path/to/apps/ios/App/App/App-Prefix.pch'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
它所指的路径不存在。我也找不到任何提到这条路的地方。那么,有没有一种方法可以在测试时禁用前缀PCH文件?如果您单击前缀文件,并查看右侧边栏菜单中的“标识和类型”,那么“位置”和“完整路径”有意义吗?