osx-yosemite

Yosemite upgrade broke ruby.h

北城余情 提交于 2019-11-30 01:45:35
Ever since upgrading to Yosemite, I get this error trying to build anything that includes ruby.h : In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby.h:33: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/ruby.h:24:10: fatal error: 'ruby/config.h' file not found #include "ruby/config.h" ^ 1 error generated. make[1]

Mcrypt with Mamp Pro on Mac OS X Yosemite 10.10

我的未来我决定 提交于 2019-11-29 23:10:46
问题 After the Yosemite update yesterday, something is messed up with the Mcrypt extension. The PHP based artistan CLI of the Laravel framework returns: Mcrypt PHP extension required. The PATH variable seems to be correct. Where is the misconfig? Before the update everything worked fine. ++++ Configs ++++ Output of 'which php': /Applications/MAMP/bin/php/php5.6.1/bin/php 'php -v': PHP 5.6.1 (cli) (built: Oct 13 2014 18:41:35) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.6.0, Copyright (c)

iOS Simulator 7.1 crash running on Yosemite with weak linked new frameworks (Symbol not found: _objc_isAuto)

主宰稳场 提交于 2019-11-29 22:58:42
I have just updated to xCode 6.1 and had to reinstall my iOS 7 simulators. I can run my app on all the simulators apart from the 5s iOS 7.1 sim. I get this crash dyld: Symbol not found: _objc_isAuto Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/lib/libobjc.A.dylib in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (lldb) What gives? Any ideas why this sim crashes? Thanks This issue can

Eclipse won't start after installing Mac OS X Yosemite (Mac OS 10.10)

心不动则不痛 提交于 2019-11-29 22:43:22
Right after upgrading to Mac OS Yosemite (10.10), my Eclipse won't start anymore. Instead I get The JVM shared library /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib" does not contain the JNI_CreateJavaVM symbol. I checked java -version and get java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode) I search and have found one similar problem Reinstalling Java 7 JDK on OSX . It is suggesting a reinstallation of Java. I am not sure if my problem falls into the

Loading code from a framework for a custom control in IBDesignable

旧城冷巷雨未停 提交于 2019-11-29 22:07:33
问题 I've implemented a custom control in a OS X application that works fine. When the control is drawn it uses code from a non system Framework. The control is written in swift, the framework is in Objective-C. The Framework is not built in the same project or workspace as the application with the custom control. I've added the Framework to the target and added it to a copy files build phase. When I add the IBDesignable decoration to the custom control class in swift then I get an error when

Intel X86 emulator accelerator (HAXM installer) VT/NX not enabled

穿精又带淫゛_ 提交于 2019-11-29 20:22:24
I`m asking how to enable my VT/NX for my MacBook, when I try to use X86 emulator, it appears to me that VT/NX NOT ENABLED, it had never seem this when I used 10.9 system, after I update my MacBook to Yosemite, it appears to me. When I try to start my x86 emulator, it tells me: Starting emulator for AVD 'X86' emulator: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX is not installed on this machine (/dev/HAX is missing). But the AVD shows me that I had installed HAXM. When I try to install by

After upgrade, PHP no longer supports PNG operations

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-29 20:00:45
After updating to Mac OS X 10.10 (Yosemite) and starting Apache with PHP support, everything works as before except for any image operations on PNG files. I get a Call to undefined function imagecreatefrompng() , while any operation on JPEG files work. So GD is present, but not for PNG. There is one line in the phpinfo() that looks like the problem: '--with-png-dir=no' The GD section from phpinfo() : How do I get the included PHP to work with PNG files? Here's another option, from the guys from liip, here . This is a PHP package that comes pre-built for Yosemite (older versions works too) but

Homebrew installs nvm but nvm can't be found afterwards?

大兔子大兔子 提交于 2019-11-29 19:31:27
I'm using homebrew and oh-my-zsh on a fresh OSX 10.10.1 install. I got nvm via homebrew and then attempted to run it but says - zsh: command not found: nvm Any idea what the problem is? I was able to install and use git just fine... UPDATED 9/20/2019 As stated by more recent answers from DarkPurple141 and Elise van Looij . nvm doesn't appear to be compatible with homebrew . This is also stated in the official nvm-sh repo located here . Homebrew installation is not supported. If you have issues with homebrew-installed nvm, please brew uninstall it, and install it using the instructions below,

OSX 10.10 yosemite beta on git pull: git-sh-setup: No such file or directory

馋奶兔 提交于 2019-11-29 18:56:10
After upgrading to OSX 10.10 Yosemite Beta, running git pull is returning the following error: /Library/Developer/CommandLineTools/usr/libexec/git-core/git-pull: line 11: git-sh-setup: No such file or directory I've checked the referenced git-core directory and the git-sh-setup.sh is there. Other git commands are working exactly as expected I think the cleanest solution for this for now is to change the initial command in your iTerm session to be /usr/bin/login -f <your user name> This fixes the issue for me. A further data point for analysis of the issue: It seems that in 10.10, multiple

What causes this error in grunt-contrib-compass after update to Yosemite?

那年仲夏 提交于 2019-11-29 18:55:41
问题 I am using Yeoman. After upgrading to Yosemite, the tasks grunt server and grunt build throw this error: /Users/rogerfuentes/Documents/Web/Kelios/test/node_modules/grunt-contrib-compass/node_modules/tmp/lib/tmp.js:261 throw err; ^ Error: spawn ENOENT at errnoException (child_process.js:1001:11) at Process.ChildProcess._handle.onexit (child_process.js:792:34) What is causing this error, and how can it be fixed? 回答1: If you run compass on the terminal window, you will see the following error: