CoreData模型编译器失败,因为libwep [英] CoreData model compiler fails because of libwep

查看:1073
本文介绍了CoreData模型编译器失败,因为libwep的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自今天以来,我尝试构建的每个基于CoreData的项目在CD模型的编译过程中失败。

Since today, each CoreData-based project I try to build fails during the compilation of the CD model

DataModelVersionCompile /Users/paolo/Library/Developer/Xcode/DerivedData/testCoreDataBuild-fgvttsutxgjcnsdctcceutmrilfn/Build/Products/Debug-iphoneos/testCoreDataBuild.app/testCoreDataBuild.momd testCoreDataBuild/testCoreDataBuild.xcdatamodeld
    cd /Users/paolo/Workspace/Apps/testCoreDataBuild
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/usr/bin/momc -XD_MOMC_SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -MOMC_PLATFORMS iphoneos /Users/paolo/Workspace/Apps/testCoreDataBuild/testCoreDataBuild/testCoreDataBuild.xcdatamodeld /Users/paolo/Library/Developer/Xcode/DerivedData/testCoreDataBuild-fgvttsutxgjcnsdctcceutmrilfn/Build/Products/Debug-iphoneos/testCoreDataBuild.app/testCoreDataBuild.momd

**dyld: Library not loaded: /usr/lib/libwep**
  Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/cdtool
  Reason: no suitable image found.  Did find:
    /usr/lib/libwep: mach-o, but not built for iOS simulator
    /usr/lib/libwep: mach-o, but not built for iOS simulator
    /usr/lib/libwep: mach-o, but not built for iOS simulator
2015-04-09 12:05:53.827 momc[9451:343369] *** -[NSKeyedUnarchiver initForReadingWithData:]: data is empty; did you forget to send -finishEncoding to the NSKeyedArchiver?
/Users/paolo/Workspace/Apps/testCoreDataBuild/testCoreDataBuild/testCoreDataBuild.xcdatamodeld:0: error: Compilation failed for data model at path '/Users/paolo/Library/Developer/Xcode/DerivedData/testCoreDataBuild-fgvttsutxgjcnsdctcceutmrilfn/Build/Products/Debug-iphoneos/testCoreDataBuild.app/testCoreDataBuild.momd/testCoreDataBuild.mom'

I更新到XCode 6.3,重新启动系统,清除Derived Data等。
此错误是一个新的项目只有一个虚拟实体。

I updated to XCode 6.3, restarted the system, cleaned Derived Data, etc. This error is for a fresh new project with just one dummy entity.

推荐答案

我结束重置我的iMac并从头重新安装OS X

I ended up resetting my iMac and reinstalling OS X from scratch

这篇关于CoreData模型编译器失败,因为libwep的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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