[英]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: 尝试在OS X 10.8 Mountain Lion中的Xcode 4.4上的MacRuby中运行基本的“Hello world”应用程序时出现以下错误:
"macruby.h not found"
“找不到macruby.h”
How to resolve this problem? 如何解决这个问题?
Try adding /Library/Frameworks
to the framework search path. 尝试将
/Library/Frameworks
添加到框架搜索路径。 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. 解决此问题的另一种方法是在MacRuby的Xcode默认搜索路径中添加符号链接。
Open Terminal and insert command: 打开终端并插入命令:
sudo ln -s /Library/Frameworks/MacRuby.framework \\ /Applications/Xcode.app/Contents/Developer/Library/Frameworks/MacRuby.framework
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.