我使用以下方法将iOS 6 SDK文件从xcode 4.5(dmg)复制到带有雪豹xcode 4.2的计算机:

sudo cp -R /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ sudo cp -R / Volumes / Xcode / Xcode.app / Contents / Developer / Platforms / iPhoneSimulator.platform / Developer / SDKs / iPhoneSimulator6.0.sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ sudo cp -R / Volumes / Xcode / Xcode .app / Contents / Developer / Platforms / iPhoneOS.platform / DeviceSupport / 6.0 \(10A403)/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ sudo rm -f /Developer/Platforms/iPhoneOS.platform/DeviceSupport/Latest cd / Developer /Platforms/iPhoneOS.platform/DeviceSupport/ sudo ln -s ./6.0 \(10A403)./最新

我在xcode 4.2中打开了我的iPad项目,这里显示的错误是:

“未分类 . 路径上的数据模型编译失败'/User/desarrollo/Library/Developer/Xcode/DerivedData/.../Build/Products/Debug-iphonesimulator/...app/...momd/...mom “”

xcdatamodeld引用和文件存在于项目和文件夹中 .

你能帮我解决这个问题吗?

我认为这不是与iOS 6 SDK相关的问题,因为我一直在尝试使用iOS 5.1作为目标进行清理和构建项目,但它显示相同的错误 .

提前致谢 .