Thanks Mark!

(I really should have, at the very least, look through the open issues before 
mailing the list… sorry.)

milos

On 13 Jun 2012, at 02:39, Mark Rada wrote:

> The problem is that /Library/Frameworks is no longer in the default search 
> path for frameworks. The workaround is simply to add it back to the 
> "Framework Search Paths" in the project settings.
> 
> We're tracking this issue on Github: 
> https://github.com/MacRuby/MacRuby/issues/107
> 
> 
> 
> On 2012-06-12, at 3:28 PM, Milos & Slavica wrote:
> 
>> As reported by Jean-Denis:
>> 
>>>> After installing, in order:
>>>> 
>>>> - Xcode 4.3.3 (update of 4.3.2)
>>>> - MacRuby 0.12 binary distribution
>>>> 
>>>> I create a new MacRuby project (so some MacRuby template is found), but 
>>>> Xcode 4.3.3 fails to compile the main.m file. It chokes on "#import 
>>>> <MacRuby/MacRuby.h>" with the error "MacRuby/MacRuby.h file not found".
>> 
>> The same is happening with me. I went on to install the latest MacRuby 
>> nightly build, but that did not help. MacRuby no longer shows up in Xcode’s 
>> “Choose frameworks and libraries to add” dialog. The dialog offers to “Add 
>> Other…”, which I did, by navigating to 
>> /Library/Frameworks/MacRuby.framework. This appeared to work at first as 
>> MacRuby framework showed up in the project navigator. Running the app, 
>> however, failed immediately with the same error as with Jean-Denis 
>> ("MacRuby/MacRuby.h file not found”).
>> 
>> Anyone else having similar problems after updating Xcode and MacRuby?
>> 
>> milos
>> 
>> On 12 Jun 2012, at 16:00, Jean-Denis MUYS wrote:
>> 
>>> This is happening under Lion 10.7.4.
>>> 
>>> Jean-Denis
>>> 
>>> 
>>> On 12 juin 2012, at 15:55, <macruby-devel-requ...@lists.macosforge.org>
>>> Watson <watson1...@gmail.com> wrote:
>>> 
>>>> Date: Tue, 12 Jun 2012 20:31:21 +0900
>>>> From: Watson <watson1...@gmail.com>
>>>> To: "MacRuby development discussions."
>>>>    <macruby-devel@lists.macosforge.org>
>>>> Subject: Re: [MacRuby-devel] MacRuby.h not found
>>>> Message-ID:
>>>>    <CAL5q=w4b1x3ztpbtpm8wbyis9zb9cclnvgwe+8ibptfj7gx...@mail.gmail.com>
>>>> Content-Type: text/plain; charset=windows-1252
>>>> 
>>>> Hi,
>>>> 
>>>> MacRuby does not support Mountain Lion yet.
>>>> Please use MacRuby with Lion or Snow Leopard.
>>>> 
>>>> 
>>>> Thanks
>>>> 
>>>> 2012/6/12 Jean-Denis MUYS <jdm...@kleegroup.com>:
>>>>> Hello,
>>>>> 
>>>>> After installing, in order:
>>>>> 
>>>>> - Xcode 4.3.3 (update of 4.3.2)
>>>>> - Xcode 4.5DP1
>>>>> - MacRuby 0.12 binary distribution
>>>>> 
>>>>> I create a new MacRuby project (so some MacRuby template is found), but 
>>>>> Xcode 4.3.3 fails to compile the main.m file. It chokes on "#import 
>>>>> <MacRuby/MacRuby.h>" with the error "MacRuby/MacRuby.h file not found".
>>>>> 
>>>>> I checked that the MacRuby framework appear in my project and is listed 
>>>>> in the "Link Binary With Libraries" build phases.
>>>>> 
>>>>> However, it appears in red in both places and file inspector says it's 
>>>>> located at "Library/Frameworks/MacRuby.framework", "Relative to Developer 
>>>>> Directory".
>>>>> 
>>>>> I'm not sure which is the "Developer Directory" (how can I find out?), 
>>>>> but MacRuby.framework sure doesn't appear in my ~/Developer directory. 
>>>>> Inspecting the MacRuby installer logs shows that it installed it right in 
>>>>> /Library/Frameworks, not in any developer directory. This is confirmed by 
>>>>> a search of MacRuby.framework using the mdfind command: MacRuby.framework 
>>>>> is only to be found in ?/Library/Frameworks.
>>>>> 
>>>>> xcode-select -print-path reports /Applications/Xcode433.app/Developer, 
>>>>> but MacRuby.framework doesn't appear in 
>>>>> /Applications/Xcode433.app/Developer/Library/Frameworks.
>>>>> 
>>>>> I tried to replace the MacRuby.framework from the template by the one 
>>>>> that is located in /Library/Frameworks. The project now shows it in 
>>>>> black, not red, so it's found now. However, I still have the exact same 
>>>>> compiler error.
>>>>> 
>>>>> Looking at the Xcode target settings, I found that the Framework Search 
>>>>> Paths setting points to the Frameworks directory within Xcode433.
>>>>> 
>>>>> This seems to suggest that the installer installed MacRuby.framework in 
>>>>> the wrong location: /Library instead of the currently-selected Xcode 
>>>>> directory.
>>>>> 
>>>>> What would be the next step in my case? Is it enough to copy over 
>>>>> MacRuby.framework to 
>>>>> /Applications/Xcode433.app/Developer/Library/Frameworks?
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Jean-Denis
>>>>> 
>>>>> 
>>>>> PS: to be complete:
>>>>> 
>>>>> Calling "macruby --version" in the terminal reports "MacRuby 0.12 (ruby 
>>>>> 1.9.2) [universal-darwin10.0, x86_64]", but if I recall correctly, so did 
>>>>> the rather old nightly build I had installed previously.
>>>>> 
>>>>> Calling "which macruby" reports /usr/local/bin/macruby, which is 
>>>>> consistent with the MacRuby installer.
>>>>> 
>>>>> 
>>>>> 
>>>>> [Logo Kleegroup]
>>>>> Klee Group is a great place to work ? Il fait bon travailler ? Klee Group
>>>>> _______________________________________________
>>>>> MacRuby-devel mailing list
>>>>> MacRuby-devel@lists.macosforge.org
>>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>>> 
>>> 
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel@lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel@lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to