[MacRuby] #1220: XCode 4 not recognizing MacRuby

MacRuby ruby-noreply at macosforge.org
Wed Apr 13 09:59:42 PDT 2011


#1220: XCode 4 not recognizing MacRuby
------------------------------+---------------------------------------------
 Reporter:  lonny6@…          |       Owner:  lsansonetti@…        
     Type:  defect            |      Status:  new                  
 Priority:  blocker           |   Milestone:                       
Component:  MacRuby           |    Keywords:                       
------------------------------+---------------------------------------------

Comment(by lonny6@…):

 If I add the MacRuby framework to the project manually, which is now
 necessary (new MacRuby projects immediately claim they have an "issue",
 which is



 I can compile and run the program (this is basically a blank program with
 just a window, nothing else), but when I try to deploy and embed MacRuby,
 it gives me this:

 arch: posix_spawnp:
 /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/bin/macruby: Bad
 CPU type in executable
 Error when executing ` arch -i386
 /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/bin/macruby
 --emit-llvm "/var/folders/N8/N8edOxkhHUyt7ESf-
 DOqRU+++TI/-Tmp-/AppDelegatei386-25930.bc"
 MREP_13AB175211D945E7854D9E487029E625
 "/Users/lonny/Library/Developer/Xcode/DerivedData/Test_1-chdlwinrmnvqtudqyqgwitfshvfr/ArchiveIntermediates/Deployment/BuildProductsPath/Release/Test_1.app/Contents/Resources/AppDelegate.rb"'
 Can't compile
 "/Users/lonny/Library/Developer/Xcode/DerivedData/Test_1-chdlwinrmnvqtudqyqgwitfshvfr/ArchiveIntermediates/Deployment/BuildProductsPath/Release/Test_1.app/Contents/Resources/AppDelegate.rb"
 Command /usr/local/bin/macruby_deploy failed with exit code 1

 Which it should not be doing, since I have told XCode to build only
 against X86_64.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1220#comment:2>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list