[MacRuby-devel] Xcode: rb_nibtool no longer picking up actions

Steve Clarke steve at sclarkes.me.uk
Fri Feb 24 10:57:42 PST 2012


No,  I'd already read earlier comments about the block syntax.  I can't get actions recognised at all, even in the most trivial cases.  If everyone else is OK I might just be doing something stupid.

Steve

On 24 Feb 2012, at 18:43, Kevin Poorman wrote:

> There is a known problem, (at least It's known to me...) with rb_nibtool and certain forms of ruby block syntax. 
> 
> Specifically, multi-line {} syntax causes it to fail. I've run into this with the dispatch gem doing things like
> 
> Dispatch::Job.new {
> 	#some expensive op
> }
> 
> that code, while ruby 1.9.2/3 kosher, causes the nibtool to bomb.  However, 
> 
> Dispatch::Job.new do
> 	#some expensive op
> end
> 
> works just fine. Does your code use {'s or begin/end ?
> 
> -Pkj
> 
> 
> On Feb 24, 2012, at 1:36 PM, Steve Clarke wrote:
> 
>> I've been following the discussions about getting Xcode 4.3 to find rb_nibtool.  The symlink works for me.  However it seems to deal OK with outlets but is not working at all for received actions - even in the simplest cases.  
>> 
>> What may be interesting is that even before I installed 4.3 it stopped recognising actions in 4.2.  As far as I'm aware I changed nothing in my setup at this time, so I wonder if it's an Apple Software update that has caused the problem?
>> 
>> At present I'm stuck and can't get actions to work in 4.2 or 4.3 even though rb_nibtool is being invoked in both cases.  I know because it successfully recognises any change to outlets.
>> 
>> I'm using the nightly build from last night (dated 24th Feb).
>> 
>> Steve
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list