简体   繁体   中英

Xcode 4.4 + MacRuby = “macruby.h not found” (OS X 10.8 Mountain Lion)

I get the following error when trying to run a basic "Hello world" application in MacRuby on Xcode 4.4 in OS X 10.8 Mountain Lion:

"macruby.h not found"

How to resolve this problem?

Try adding /Library/Frameworks to the framework search path. Make sure you tick the checkbox as well.

截图

Another way to solve this is add a symbolic link in Xcode default searching path for MacRuby.

Open Terminal and insert command:

sudo ln -s /Library/Frameworks/MacRuby.framework \\ /Applications/Xcode.app/Contents/Developer/Library/Frameworks/MacRuby.framework

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM