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 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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…