Excellent, thanks.
I just looked and we appear to honor the DYLD_FRAMEWORK_PATH environment
variable already, but there is probably a bug somewhere. I will have a look
later. Thanks for reporting the problem :)
Laurent
On Nov 4, 2010, at 1:31 PM, Louis-Philippe wrote:
> while I was replying t
while I was replying to the ticket comment ;)
so:
my use case is one of TDD, where the framework is not installed but in the
build folder.
Even if I:
ENV['DYLD_FRAMEWORK_PATH'] = ENV['BUILT_PRODUCTS_DIR']
the framework doesn't load properly.
>
>
___
Ma
Hi Louis-Philippe,
I replied to the bug but I'm not sure if comments are propagated to your e-mail
address.
In short, where did you install ObjCHiredis.framework in your system?
Laurent
On Nov 4, 2010, at 12:23 PM, Louis-Philippe wrote:
> ok!
> done!
> Thanks!
>
> 2010/11/4 Eloy Duran
> Yep
ok!
done!
Thanks!
2010/11/4 Eloy Duran
> Yep, that's a bug. Can you file a ticket? Thanks :)
>
> On 4 nov 2010, at 19:44, Louis-Philippe wrote:
>
> Thanks Eloy!
> I was starting to poke myself, trying to wakeup from a bad dream...
> and your answer helped me to get it right:
>
> what works:
>
>
Actually I can't reproduce that either:
I've copied the framework into the load path at:
/Library/Frameworks/ObjCHiredis.framework
% macirb
irb(main):001:0> framework 'ObjCHiredis'
=> true
irb(main):002:0> r = ObjCHiredis.alloc.init
=> #
irb(main):003:0> r.connect('127.0.0.1', on:1234)
2010-11-0
Yep, that's a bug. Can you file a ticket? Thanks :)
On 4 nov 2010, at 19:44, Louis-Philippe wrote:
> Thanks Eloy!
> I was starting to poke myself, trying to wakeup from a bad dream...
> and your answer helped me to get it right:
>
> what works:
>
> >> framework 'ObjCHiredis.framework'
> => true
Thanks Eloy!
I was starting to poke myself, trying to wakeup from a bad dream...
and your answer helped me to get it right:
what works:
>> framework 'ObjCHiredis.framework'
=> true
>> redis = ObjCHiredis.alloc.init
=> #
>> redis.connect("127.0.0.1", on:6379)
=> 1
what doesn't:
>> framework 'Obj
Oops, forgot to paste the result:
% macirb
irb(main):001:0> framework
'/Users/eloy/Documents/DEVELOPMENT/MacRuby/ObjCHiredis/ObjCHiredis/build/Debug/ObjCHiredis.framework'
=> true
irb(main):002:0> redis = ObjCHiredis.alloc.init
=> #
irb(main):003:0> redis.connect("127.0.0.1", on:6379)
2010-11-04
Works for me on a recent trunk version. Which version are you on? Otherwise try
trunk or a nightly build.
Eloy
On 4 nov 2010, at 17:44, Louis-Philippe wrote:
> There are no non OO structure at all, at least I think... One public Objc
> class with 4 methods total. Thats it.
>
> and by the wa
There are no non OO structure at all, at least I think... One public Objc
class with 4 methods total. Thats it.
and by the way, methods from foundation framework work:
>> framework "foundation"
=> true
>> base = NSURL.URLWithString("/usr/local/bin")
=> #
>> myurl = NSURL.URLWithString("myapp/pr
I'm not really sure what's going on there and to be honest, I didn't check
your code, but did you try to generate a BridgeSupport file to expose non OO
structures?
- Matt
On Thu, Nov 4, 2010 at 9:05 AM, Louis-Philippe wrote:
> Hi all,
>
> I have a funny problem,
> I have a framework I created,
11 matches
Mail list logo