我正在尝试安装Ruby 1.9.3但是遇到了问题.我安装了RVM,然后键入:
rvm install 1.9.3
Run Code Online (Sandbox Code Playgroud)
输出说:
ERROR: Error running ' ./configure....
Run Code Online (Sandbox Code Playgroud)
日志说:
configure: WARNING: unrecognized options: --with-libyaml-dir
checking build system type... x86_64-apple-darwin11.2.0
checking host system type... x86_64-apple-darwin11.2.0
checking target system type...x86_64-apple-darwin11.2.0
checking whether the C compiler works... no
configure: error: in `/Users/myuser/.rvm/src/ruby-1.9.3-p0':
configure: error: C compiler cannot create executables See `config.log' for more details
Run Code Online (Sandbox Code Playgroud)
我从App Store下载了新的XCode并安装了它.
我找到了一些其他帖子,展示了如何使用脚本添加脚本来增加构建号:
但是我想要做的只是在我使用ARCHIVE(前后)时增加内部版本号.
示例:如果当前内部版本号为21,那么当我选择产品>归档时,内部版本号将增加到22,它将完成构建和创建内部版本号为22的存档文件的过程,然后当它是完成归档后,它会将内部版本号增加到23.
我有一个Cocoa应用程序,有一个NSWindowController控制NSWindow与NSComboBox它.没什么特别的,它在升级到OS X 10.7.2之前工作正常.现在我得到以下异常,当窗口控制器的窗口加载时,该异常只发生一次.(由于我的应用程序中的窗口控制器仍然加载,每次应用程序启动时只会发生一次.)随后聚焦和取消聚焦组合框不会触发它.
任何人都知道10.7.2中是否有变化,如果有变化,如何解决它?
(这与Xcode 4.2一起发生.)
2011-10-24 11:30:21.649 MyApp[7934:707] Unlocking Focus on wrong view ((null)), expected <NSComboBox: 0x40083d6e0>
2011-10-24 11:30:21.653 MyApp[7934:707] (
0 CoreFoundation 0x00007fff8412d286 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff88cdad5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff8412d0ba +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff8412d044 +[NSException raise:format:] + 116
4 AppKit 0x00007fff8c76c1d5 -[NSFocusStack unfocusView:] + 194
5 AppKit 0x00007fff8c7e838e +[_NSAutomaticFocusRing showForView:] + 2545
6 AppKit 0x00007fff8cdbb4d1 __postActiveFirstResponderChanged_block_invoke_1 + 32
7 CoreFoundation 0x00007fff840ecf37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 …Run Code Online (Sandbox Code Playgroud) 我尝试使用来自终端的Sublime Text,例如输入subl.
我正在按照Sublime Text网站的步骤进行操作:
建立
第一个任务是创建一个符号链接到subl.假设您已将Sublime Text 2放在Applications文件夹中,并且路径中有〜/ bin目录,则可以运行:
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl
Run Code Online (Sandbox Code Playgroud)
我一直在 permission denied : ~/bin/subl: Permission Denied
我一直在寻找类似的问题,但找不到适用的问题.有人能指出我正确的方向吗?
我最近更新到Lion并在系统偏好设置中启用了Web共享,但我无法让php工作.
我将一个信息文件添加到Web根目录,并将文件作为文本输出.
info.php
with the content
<?php phpinfo(); ?>
Run Code Online (Sandbox Code Playgroud) 我的项目在模拟器+设备上完美运行,
但是现在,在升级到lion os和xcode 4.1之后,当gps处于活动状态时我收到此错误!
server did not accept client registration 68
Run Code Online (Sandbox Code Playgroud)
这是一个基于gps的应用程序,我很紧张不在模拟器中调试应用程序!
有什么想法解决这个问题吗?
更新:模拟器上的Gps在Xcode 3.2.6 + LION上也不起作用.
编辑:Apple对bug跟踪器的响应:
经过进一步调查后,已确定这是一个已知问题,目前正在通过工程进行调查.此问题已在我们的错误数据库中以原始Bug ID#提交.感谢您提交此错误报告.我们非常感谢您协助我们发现和隔离错误.
我在osx中遇到了一个非常讨厌的副作用,我似乎无法找到解决方法:由于某种原因,全屏应用程序保持切换位置.例如,如果我有Safari,Mail和Xcode全屏打开,按照这个顺序,每隔一段时间他们就会交换位置(例如,Xcode有时会向左移动,所以向左滑动会带我到Safari而不是邮件).这些应用程序的顺序对于生产力而言非常重要,当你打开其中6个并且突然邮件从第6点到第2点时,它会变得非常混乱.
任何想法如何让这个地方切换停止?
有没有人知道一个jQuery插件,为每个浏览器制作Mac OS X Lion风格的滚动条?
提前致谢.
编辑:这是Windows用户的图像

试图从源代码安装git,它会继续引发错误:
make install
* new build flags or prefix
CC credential-store.o
In file included from credential-store.c:1:
In file included from ./cache.h:8:
./gettext.h:17:11: fatal error: 'libintl.h' file not found
# include <libintl.h>
^
1 error generated.
make: *** [credential-store.o] Error 1
Run Code Online (Sandbox Code Playgroud)
在lib.intl.h上没有任何谷歌搜索结果.什么是这个难以捉摸的库,我怎样才能得到它以便我最终可以安装git?
更新到Mac OSX Lion后,我发现我无法使用Subclipse.我一直收到这个错误:
无法加载默认的SVN客户端
有关如何解决此问题的任何想法?
我正在使用Eclipse Indigo.