[MacRuby] #251: Attempt to follow "New Project" section of tutorial crashes Interface Builder
#251: Attempt to follow "New Project" section of tutorial crashes Interface Builder ----------------------------+----------------------------------------------- Reporter: gobbel@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.4 Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- After installing MacRuby 0.4, tried to run through the "New Project" scenario in the tutorial. Started with XCode 3.1, found that my controller was not being seen by IB, even though the code had been cut and pasted from the tutorial. Updated to latest XCode (3.1.2), first by just downloading, then by installing iPhone SDK 2.2.1. After updating XCode, clicking on MainMenu.nib after creating the controller class causes IB to start up, display only its palette of objects, then crash with uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible'. The crash report is attached. -- Ticket URL: <http://www.macruby.org/trac/ticket/251> MacRuby <http://macruby.org/>
#251: Attempt to follow "New Project" section of tutorial crashes Interface Builder ----------------------------+----------------------------------------------- Reporter: gobbel@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.4 Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by gobbel@…): More detail, found this log entry: 5/11/09 9:01:57 AM [0x0-0x194194].com.apple.InterfaceBuilder3[8875] Couldn't open shared capabilities memory GSCapabilities (No such file or directory) A quick Google turns up a couple of other instances of this IB crash, all very recent, none associated with MacRuby. -- Ticket URL: <http://www.macruby.org/trac/ticket/251#comment:1> MacRuby <http://macruby.org/>
#251: Attempt to follow "New Project" section of tutorial crashes Interface Builder ----------------------------+----------------------------------------------- Reporter: gobbel@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.4 Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by lsansonetti@…): A common reason why Ruby code is not appropriately recognized by IB is because the IB parser fails to handle files with non-UTF8 characters in it. If your name (or company name) has some, this could explain the first reason. Also, every time you re-install the Xcode package, you must re-install MacRuby right after in order to use the IB integration. This is because the original IB integration only supports RubyCocoa, and MacRuby overwrites it with a new one which supports both. -- Ticket URL: <http://www.macruby.org/trac/ticket/251#comment:2> MacRuby <http://macruby.org/>
#251: Attempt to follow "New Project" section of tutorial crashes Interface Builder ----------------------------+----------------------------------------------- Reporter: gobbel@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.4 Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by gobbel@…): After installing the iPhone 3.0 SDK and reinstalling MacRuby, it seems to be working. There were several details of the tutorial workflow that didn't quite work due to changes in the XCode and IB user interfaces (references to things that no longer exist, e.g., Object Identity is not now a tab in the Document Info window, it's the Identity Inspector, invoked via the Tools menu, and I had to type the name of my class, rather than selecting it) -- the tutorial should definitely be revised to work with the current UI for these tools. However, my main problem seems to have disappeared, so I think this ticket could be considered closed. -- Ticket URL: <http://www.macruby.org/trac/ticket/251#comment:3> MacRuby <http://macruby.org/>
#251: Attempt to follow "New Project" section of tutorial crashes Interface Builder ----------------------------+----------------------------------------------- Reporter: gobbel@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: invalid Keywords: | ----------------------------+----------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => invalid * milestone: MacRuby 0.4 => Comment: Thanks for the quick feedback, closing. -- Ticket URL: <http://www.macruby.org/trac/ticket/251#comment:4> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby