我正在尝试从去年开始构建一个旧的Xcode项目,我从momc收到以下错误。我已经尝试恢复到Xcode 5.1.1然后Xcode 5.0,它没有任何区别。当我上次使用它时,这个项目很干净。
DataModelVersionCompile Build/Products/Debug-iphoneos/KinsaNative.app/Kinsa.momd KinsaNative/Kinsa.xcdatamodeld
cd /Users/mike/kinsa/KinsaNativeIOS
setenv PATH "/Users/mike/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Users/mike/Desktop/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Users/mike/Desktop/Xcode.app/Contents/Developer/usr/bin/momc -XD_MOMC_SDKROOT=/Users/mike/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -MOMC_PLATFORMS iphonesimulator -MOMC_PLATFORMS iphoneos /Users/mike/kinsa/KinsaNativeIOS/KinsaNative/Kinsa.xcdatamodeld /Users/mike/kinsa/KinsaNativeIOS/Build/Products/Debug-iphoneos/KinsaNative.app/Kinsa.momd
Assertion failed: (host_bootstrap_port != MACH_PORT_NULL), function _sim_host_bootstrap_init, file /SourceCache/Interposition_Sim/Interposition_Sim-111/libSystem/system/bootstrap.c, line 26.
2014-07-11 12:35:29.483 momc[6913:142282] *** -[NSKeyedUnarchiver initForReadingWithData:]: data is empty; did you forget to send -finishEncoding to the NSKeyedArchiver?
/Users/mike/kinsa/KinsaNativeIOS/KinsaNative/Kinsa.xcdatamodeld:0: error: Compilation failed for data model at path '/Users/mike/kinsa/KinsaNativeIOS/Build/Products/Debug-iphoneos/KinsaNative.app/Kinsa.momd/Kinsa.mom'