暗纹X $ C $Ç生成错误:"文件“的myapp-SBPartialInfo.plist”无法打开,因为没有这样的文件" [英] Obscure Xcode build error: "The file “myapp-SBPartialInfo.plist” couldn’t be opened because there is no such file."
问题描述
我越来越朝着构建结束以下错误:
错误:无法读取数据'/Users/myname/Library/Developer/X$c$c/DerivedData/myapp-ftieubjjfkuwyrhhleghfevbhxuu/Build/Intermediates/myapp.build/Debug-iphoneos/myapp.build/myapp-SBPartialInfo.plist':文件MyApp的-SBPartialInfo.plist不能打开,因为没有这样的文件
我能想到的唯一的事情是,它是已经中止构建一个小时左右前的结果。
我已经清理,退出X code,重新启动我的电脑 - 没有一个简单的修复都在工作。我检查了其他的编译目录(调试-iphonesimulator和Release-的iPhoneOS),既不这些目录中包含的文件无论是。但无论是模拟器和归档正在建设正确。
X $ C $ç错误是最差的。
我从Apple支持听到了。
什么是错与生成的文件之一。这里是解决它的步骤:
1)退出X $ C $角
2)打开Finder,然后选择前往>前往文件夹...
3)删除文件夹DerivedData p>
4)打开X $ C $角
5)清理项目
6)建立
I'm getting the following error toward the end of the build:
error: could not read data from '/Users/myname/Library/Developer/Xcode/DerivedData/myapp-ftieubjjfkuwyrhhleghfevbhxuu/Build/Intermediates/myapp.build/Debug-iphoneos/myapp.build/myapp-SBPartialInfo.plist': The file "myapp-SBPartialInfo.plist" couldn’t be opened because there is no such file.
The only thing I can think of is that it is a result of having aborted a build an hour or so ago.
I have cleaned, quit Xcode, rebooted my computer - none of the easy fixes are working. I've checked the other build directories (Debug-iphonesimulator and Release-iphoneos), and neither of those directories contain the file either. But both the simulator and the archive are building correctly.
Xcode bugs are the worst.
I heard back from Apple Support.
Something was wrong with one of the generated files. Here are the steps to fix it:
1) Quit Xcode.
2) Open Finder and select Go > Go to Folder...
3) Delete the DerivedData folder
4) Open Xcode.
5) Clean your project
6) Build
这篇关于暗纹X $ C $Ç生成错误:"文件“的myapp-SBPartialInfo.plist”无法打开,因为没有这样的文件"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!