Xcode 5.0.2 on OSX 10.10 can't compile core data model files
| Originator: | mike.akers | ||
| Number: | rdar://17654563 | Date Originated: | 13-Jul-2014 00:51 AM |
| Status: | Closed | Resolved: | 14-Jul-2014 05:32 PM |
| Product: | Developer Tools | Product Version: | Xcode 5.0.2 (5A3005), OS X 10.10 (14A283o) |
| Classification: | Other Bug | Reproducible: | Always |
Summary: Xcode 5.0.2 on Yosemite can't compile the Core data model file for an old project of mine. The project compiled fine back when I last touched it, but now it doesn't. Compiling on a box running Mavericks works fine. Steps to Reproduce: 1. Install Xcode 5.0.2 on a OSX 10.10 beta 3 box. 2. Open the attached Xcode project in Xcode 5.0.2 3. Try to build the project Expected Results: Project should compile with no errors Actual Results: build fails with the following error: 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-13 00:49:43.126 momc[2372:47367] *** -[NSKeyedUnarchiver initForReadingWithData:]: data is empty; did you forget to send -finishEncoding to the NSKeyedArchiver? /Users/mike/Desktop/Kinsa/Kinsa/Kinsa.xcdatamodeld:0: error: Compilation failed for data model at path '/Users/mike/Desktop/Kinsa/Build/Products/Debug-iphoneos/Kinsa.app/Kinsa.momd/Kinsa.mom' Version: Xcode 5.0.2 (5A3005), OS X 10.10 (14A283o) Notes: Configuration: Attachments: 'Kinsa.zip' was successfully uploaded.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
How to solve this please ?
Is there any solution to that problem ? thank you
How was this resolved?
I am now experiencing this issue. The status is closed and it has a resolved date, but I don't see anything about how to resolve it.
Issue still reproes
I can verify that this is happening, however for a different reason: when I click on a storyboard/nib file with autolayout enabled it crashes Xcode on Yosemite.
Xcode Version 5.0.2 (5A3005)
Full error:
CompileStoryboard HourlyNews/Base.lproj/Main.storyboard cd /Users/alp/workspace/HourlyNews ..... /Users/alp/workspace/.../.../Base.lproj/Main.storyboard
Assertion failed: (host_bootstrap_port != MACH_PORT_NULL), function simhost_bootstrap_init, file /SourceCache/Interposition_Sim/Interposition_Sim-111/libSystem/system/bootstrap.c, line 26. 2014-08-11 23:43:09.952 ibtoold[35220:1165490] Init failed: Error Domain=IBMessageChannelErrorDomain Code=1 "The operation couldn’t be completed. (IBMessageChannelErrorDomain error 1.)" 2014-08-11 23:43:09.953 ibtoold[35220:1165490] [MT] DVTAssertions: Warning in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-3747/IBPlugin/Utilities/IBObjectMarshalling.m:313
Details: IBAttachToCocoaTouchTool() failed: Error Domain=com.apple.InterfaceBuilder Code=-1 "Interface Builder encountered an error communicating with the iOS Simulator." UserInfo=0x7ff8cbe3ed30 {NSUnderlyingError=0x7ff8c9492230 "The operation couldn’t be completed. (IBMessageChannelErrorDomain error 1.)", NSLocalizedDescription=Interface Builder encountered an error communicating with the iOS Simulator., NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information., NSLocalizedFailureReason="Interface Builder Cocoa Touch Tool" (35228) failed to launch and exited with status (null), signal (null).} Function: IBMessageChannelCocoaTouchToolProxy IBAttachToCocoaTouchToolFailingGracefully(IBCocoaTouchTargetRuntime strong, NSError *autoreleasing *) Thread:{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code