Xcode 6.1一直告诉我一些PartialInfo.plist无法打开

ang*_*okh 17 xcode ios xcode6.1

升级到Xcode 6.1后,当我尝试构建现有应用程序时,它一直抛出此异常.我试图删除'MyController'并再次添加回来.但它会与不同的控制器抛出相同的异常.

could not read data from '/Users/macbookpro/Library/Developer/Xcode/DerivedData/MyApp-
dmhwkhbfbxprhycwjeunwtbbtsxj/Build/Intermediates/MyApp.build/DEV-iphoneos/MyApp.build/MyController-
PartialInfo.plist': The file “MyController-PartialInfo.plist” couldn’t be opened because there is no
such file.
Run Code Online (Sandbox Code Playgroud)

ang*_*okh 23

我找到了答案.我必须将所有xib文件的IBCocoaTouchPlugin替换为更新版本.

<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6244"/>
Run Code Online (Sandbox Code Playgroud)

  • 这可以通过选择xib并让xcode在界面构建器中打开来完成. (10认同)

Osc*_*car 10

You can solve it by deleting the content in the DerivedData folder. If you're worried about deleting too many folders, then delete only the folders that start with the name of your current project that you're trying to problem-solve for. Remember to close XCode before you delete the data

Library/Developer/Xcode/DerivedData/