[MacRuby-devel] Update (Laurent Sansonetti)
James Chen
ashchan at gmail.com
Thu Apr 12 16:29:15 PDT 2012
Laurent,
OK here we go.
For either a new project or existing one, when building this error pops up:
main.m: Lexical or Preprocessor Issue: "MacRuby/MacRuby.h" file not found.
App built from 10.7 runs on 10.8. But one of my own app crashes most of the
time due to a libssh (openssl.bundle) issue:
Thread 4 Crashed:: Dispatch queue: com.apple.root.default-priority
> 0 libcrypto.0.9.8.dylib 0x00007fff8bc3ff8e sk_num + 14
> 1 libcrypto.0.9.8.dylib 0x00007fff8bc6f139 CRYPTO_get_ex_data +
> 25
> 2 openssl.bundle 0x0000000105c310ba
> ossl_ssl_verify_callback + 42
> 3 libcrypto.0.9.8.dylib 0x00007fff8bc931ea
> X509_verify_cert_orig + 1194
> 4 libcrypto.0.9.8.dylib 0x00007fff8bc2edb9 X509_verify_cert +
> 105
> 5 libssl.0.9.8.dylib 0x00007fff896d11f1
> ssl_verify_cert_chain + 289
> 6 libssl.0.9.8.dylib 0x00007fff896c4029
> ssl3_get_server_certificate + 745
> 7 libssl.0.9.8.dylib 0x00007fff896c2ced ssl3_connect + 669
> 8 libssl.0.9.8.dylib 0x00007fff896bc42a ssl23_connect + 2714
> 9 openssl.bundle 0x0000000105c313e2 ossl_start_ssl + 130
> 10 libmacruby.1.9.2.dylib 0x0000000100155a04 rb_vm_dispatch +
> 9220
> 11 http.rbo 0x000000010548c304 0x10548b000 + 4868
> 12 http.rbo 0x000000010549cb5d
> MREP_1F9AD781A8BD4BBEA53F8C178BE55DA3 + 64861
> 13 libmacruby.1.9.2.dylib 0x0000000100155a04 rb_vm_dispatch +
> 9220
> 14 http.rbo 0x000000010548c304 0x10548b000 + 4868
> 15 http.rbo 0x000000010549bd6e
> MREP_1F9AD781A8BD4BBEA53F8C178BE55DA3 + 61294
> 16 libmacruby.1.9.2.dylib 0x0000000100155a04 rb_vm_dispatch +
> 9220
> 17 http.rbo 0x000000010548c304 0x10548b000 + 4868
> 18 http.rbo 0x000000010549bbf8
> MREP_1F9AD781A8BD4BBEA53F8C178BE55DA3 + 60920
> 19 libmacruby.1.9.2.dylib 0x0000000100155a04 rb_vm_dispatch +
> 9220
> 20 GNChecker.rbo 0x0000000105e2b224 0x105e2a000 + 4644
> 21 GNChecker.rbo 0x0000000105e2e0a2 0x105e2a000 + 16546
> 22 libmacruby.1.9.2.dylib 0x0000000100155a04 rb_vm_dispatch +
> 9220
> 23 GNChecker.rbo 0x0000000105e2b224 0x105e2a000 + 4644
> 24 GNChecker.rbo 0x0000000105e2dc6a 0x105e2a000 + 15466
> 25 libmacruby.1.9.2.dylib 0x0000000100156b19 rb_vm_block_eval +
> 1401
> 26 libmacruby.1.9.2.dylib 0x000000010016a7ca rb_rescue2 + 58
> 27 libdispatch.dylib 0x00007fff8d1a2527
> _dispatch_client_callout + 8
> 28 libdispatch.dylib 0x00007fff8d1946b0
> _dispatch_worker_thread2 + 304
> 29 libsystem_c.dylib 0x00007fff8814a9d3 _pthread_wqthread +
> 404
> 30 libsystem_c.dylib 0x00007fff88134fb1 start_wqthread + 13
It's a Net::HTTP request with use_ssl set as true, inside a
Dispatch::Queue.concurrent.async block. (
https://github.com/ashchan/gmail-notifr/blob/master/Classes/GNChecker.rb,
line 53)
Thanks,
---
James Chen
ashchan.com | @ashchan <http://twitter.com/ashchan>
On Fri, Apr 13, 2012 at 2:25 AM, Laurent Sansonetti <
laurent.sansonetti at gmail.com> wrote:
> It would be interesting to know if MacRuby can be built on 10.8, at least.
>
> I don't have 10.8, but I heard there are problems with loading up
> BridgeSupport files.
>
> If one of you guys can try to build the code and report the result of
> your attempt, that would be helpful. If you fear the NDA thunder you
> can mail me directly, this way it won't be public :)
>
> Laurent
>
> On Thu, Apr 12, 2012 at 5:58 PM, Ben Mills <ben at unfiniti.com> wrote:
> > I don't think that information is prohibited by NDA. I will not be
> > discussing 10.8 or Xcode 4.4 features. If you'd still like this
> information,
> > I can provide it to you.
> >
> >
> >
> > On Thu, Apr 12, 2012 at 9:38 AM, Watson <watson1978 at gmail.com> wrote:
> >>
> >> I don't have the OSX 10.8, so I can't confirm your problem.
> >>
> >> I want to know below,
> >>
> >> 1. Xcode install path. /Developer or /Applications
> >> 2. "xcode-select -print-path" command outputs. Empty,
> >> "/Developer/xxxx" or "/Applications/xxxx"
> >> 3. Your problem occurs only new project. it has been created by
> Xcode4.4.
> >> 4. Your problem occurs MacRuby's examples also.
> >>
> >> but, NDA ....
> >>
> >> 2012/4/13 James Chen <ashchan at gmail.com>:
> >> >
> >> > I also have this issue and a few others. But I'm afraid 10.8 and Xcode
> >> > 4.4
> >> > is still under NDA so we cannot discuss it.
> >> >
> >> >
> >> > On 2012/04/12, at 23:58, Ben Mills <ben at unfiniti.com> wrote:
> >> >
> >> > What about 10.8 + Xcode 4.4? I just tried creating a new MacRuby
> project
> >> > (worked fine) but Xcode can't find the MacRuby framework.
> >> >
> >> > main.m:11:9: fatal error: 'MacRuby/MacRuby.h' file not found
> >> >
> >> > #import <MacRuby/MacRuby.h>
> >> >
> >> >
> >> >
> >> >
> >> > If there's any way I can help with that, please let me know.
> >> >
> >> >
> >> >
> >> >
> >> > On Thu, Apr 12, 2012 at 7:04 AM, Watson <watson1978 at gmail.com> wrote:
> >> >>
> >> >> Hi,
> >> >>
> >> >> We only added the install location to correspond to Xcode 4.3 for
> >> >> template and rb_nibtool.
> >> >> I think we did not change template itself.
> >> >>
> >> >> I had confirmed below combination when we corresponded to Xcode 4.3,
> >> >> and MacRuby worked to expected.
> >> >>
> >> >> OS X 10.6.8 + Xcode 3.2.6
> >> >> OS X 10.6.8 + Xcode 4.2.
> >> >> OS X 10.7.3 + Xcode 4.2.1
> >> >> OS X 10.7.3 + Xcode 4.3.2
> >> >>
> >> >>
> >> >> If MacRuby is not work for you, let us know :)
> >> >>
> >> >>
> >> >> Thanks
> >> >>
> >> >> 2012/4/12 Laurent Sansonetti <laurent.sansonetti at gmail.com>:
> >> >> > On Thu, Apr 12, 2012 at 8:32 AM, Tim Rand <timrandg at gmail.com>
> wrote:
> >> >> >> "First, we will release master as 0.12 (and just forget about
> 0.11).
> >> >> >> It
> >> >> >> is important since master has changes for the latest Xcode that
> have
> >> >> >> never been snipped yet."
> >> >> >>
> >> >> >> Does that mean the macruby project template will be updated to
> work
> >> >> >> with
> >> >> >> xcode 4.3.2--i.e. install into the updated directory location
> >> >> >>
> >> >> >>
> >> >> >>
> (/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project\
> >> >> >> Templates/Mac/Application/) and have a .xctemplate structure?
> >> >> >> Because
> >> >> >> I was
> >> >> >> just trying (but failing) to get figure out how to access the
> >> >> >> templates
> >> >> >> from
> >> >> >> the xcode 4.3.2. Moving the old templates (from
> >> >> >> /Library/Application\
> >> >> >> Support/Developer/Shared/Xcode/Project\ Templates/Application/)
> >> >> >> didn't
> >> >> >> work.
> >> >> >> Looks like lots of stuff changed regarding xcode templates with
> this
> >> >> >> update.
> >> >> >
> >> >> > I am not sure about Xcode 4.3.2, but I tested master with 4.3.1 and
> >> >> > the templates seem to work as expected (also the IB support is
> >> >> > working
> >> >> > too). I believe the .xctemplate work was done a few releases ago,
> and
> >> >> > that the new changes in 0.12 are mostly about dealing with the fact
> >> >> > that Xcode is now installed in /Application/Xcode.app.
> >> >> >
> >> >> > Can you try one of the latest nightly builds and let us know if
> it's
> >> >> > still not working for you?
> >> >> >
> >> >> > Laurent
> >> >> > _______________________________________________
> >> >> > 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
> >> >
> >> >
> >> > _______________________________________________
> >> > 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
> >> >
> >> _______________________________________________
> >> 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
> >
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20120413/a076b2aa/attachment-0001.html>
More information about the MacRuby-devel
mailing list