osx-yosemite

Homebrew GDB can't open core file on Yosemite 10.10

南笙酒味 提交于 2019-11-29 04:48:51
问题 I installed GDB 7.8.1 and GCC 4.9 through Homebrew. When I open a core file generated by a GCC-compiled ( gcc-4.9 -g xxx.c -o xxx ) program, it reports: → gdb ./list_test /cores/core.1176 GNU gdb (GDB) 7.8.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty"

where are my iOS simulators in xcode 6 after yosemite installation?

爷,独闯天下 提交于 2019-11-29 04:23:05
I upgrade to Yosemite my Mini Mac (yesterday) and after a long hours (almost a day) the installation was succeeded. I enter in my source code in Xcode 6.0.1 and after automatically install several things (i just saw the message and wait) i can't see the iOS simulators just iOS Device. I check in Preferences but i have iOS Simulator 7.1 checked but i don't have any other simulator and i can't see 7.1 simulator either. Thanks for your help. EDIT **** After install Xcode 6.1 I saw my iOS simulators again in Xcode. I saw a message "installed required components" when first launched the new Xcode

NSStatusBarButton keep highlighted

江枫思渺然 提交于 2019-11-29 03:54:00
As of OS X 10.10 most of NSStatusItem has been deprecated in favour of the button property, which consists of an NSStatusBarButton. It should work like a normal button but unfortunately the cell and setCell methods in NSStatusButton have also been deprecated. As a result of this I'm struggling to find a way to keep the button highlighted after it's clicked (Normally the button is highlighted on mouse down, and unhighlighted on mouse up. I want to keep it highlighted after mouse up). Calling [NSStatusButton setHighlighted:] in its action doesn't work because it seems to unhighlight itself once

Animate custom presentation of ViewController in OS X Yosemite

大城市里の小女人 提交于 2019-11-29 03:18:15
问题 I want to implement new method, I searched a lot on Google and StackOverflow but I have not found an example - (void)presentViewController:(NSViewController *)viewController animator:(id <NSViewControllerPresentationAnimator>)animator this method is available in OSX 10.10 and this method need to implement the protocol NSViewControllerPresentationAnimator wich has this two methods - (void)animatePresentationOfViewController:(NSViewController *)viewController fromViewController:

Failure to install nokogiri libiconv is missing on Yosemite Mac OS X 10.10

人走茶凉 提交于 2019-11-29 02:51:23
问题 Trying to install Nokogiri I’m getting the following error Maxims-MacBook-Air:ScrapingTheApple maximveksler$ gem install nokogiri Fetching: nokogiri-1.6.2.1.gem (100%) Building native extensions. This could take a while... Building nokogiri using packaged libraries. ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. /Users/maximveksler/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb Building nokogiri using packaged libraries. ----- libiconv is missing. please visit http

rails server cannot start; getaddrinfo: nodename nor servname provided, or not known (SocketError)

旧巷老猫 提交于 2019-11-29 02:37:25
I have not found a solution to the problem, however someone did already ask about the same problem a few days ago - ( Rails Server Keeps Exiting (SocketError) ) After I start a rails server the system returns some error I cannot understand. To install Ruby on Rails on my mac I did everything as listed on http://railsapps.github.io/installrubyonrails-mac.html here is my terminal response: $ rails server => Booting WEBrick => Rails 4.2.0 application starting in development on http://localhost:3000 => Run `rails server -h` for more startup options => Ctrl-C to shutdown server [2015-02-28 02:14:46

Are Mac App Store code sign resource envelopes always version 1?

青春壹個敷衍的年華 提交于 2019-11-29 01:18:56
问题 After the latest email detailing changes on the gatekeeper for 10.10 beta 5 and 10.9.5 , I went and immediately verified my app with the recommended method from TN2206 . To my surprise, since I used no resource rules and built it on Mavericks, it failed: $ spctl -a -t exec -v /Applications/MyApp.app/ /Applications/MyApp.app/: rejected source=obsolete resource envelope Then, I went on to check the submitted binary inside the Xcode archive, which was promptly rejected, but without the "obsolete

Get localhost running on mac OS X Yosemite

南笙酒味 提交于 2019-11-28 23:14:34
I have updated my OS to Yosemite and the only issue I have is that my localhost is not working anymore. Please excuse if the questions sounds dumb but I have limited knowledge about servers. with Mavericks I was able to use localhost and customdomain.dev right after a system start. Also my MySQL server has been started without any actions Now Google Chrome throws an ERR_CONNECTION_REFUSED error when using localhost. I run apachectl configtest which returns httpd: Syntax error on line 58 of /private/etc/apache2/httpd.conf: Cannot load libexec/apache2/mod_authn_default.so into server: dlopen(

Error: logging directory does not exist /var/mobile/Library/Logs/CrashReporter/DiagnosticLog/

二次信任 提交于 2019-11-28 22:23:02
UPDATE: SUBMIT BUG REPORTS AND REFERENCE THIS NUMBER: #18882445 I keep having this error come up randomly through various compile times (even if nothing seems wrong with the app) [PLLogging] ***** Error: logging directory does not exist /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/ I can't find anything online. I have tried cleaning the project, multiple devices, and re-installing Xcode. If you have any advice on this issue I'd love to hear it! I am running Xcode 6.1 on Yosemite and all the devices tested were running OSX 8.1 Just go to, iOS Simulator -> Reset Content and Settings .

Anaconda Python: where are the virtual environments stored?

℡╲_俬逩灬. 提交于 2019-11-28 18:46:31
I am new to Anaconda Python and I am setting up a project in Sublime Text 3. I have installed Anaconda and created a virtual environment using: conda create -n python27 python=2.7 anaconda conda create -n python35 python=3.5 anaconda I am having trouble setting up the Virtualenvs plugin for SublimeText 3. When I try, it asks me for a virtualenvs path which I give: ~/users/../anaconda/envs/python27 Then it asks for what I'm assuming is a path to a python distribution because it lists file paths for the system versions of python -- but not the anaconda install. I have no real desire to use the