osx-yosemite

Installed Python 3 on Mac OS X but its still Python 2.7

我只是一个虾纸丫 提交于 2019-11-30 07:49:09
I am currently running OS X Yosemite (10.10.2) on my MacBook Pro... By default, Apple ships Python 2.7.6 on Yosemite. Just downloaded and ran this installer for Python 3: python-3.4.3-macosx10.6.pkg When I opened up my Terminal and typed in python , this is what came up: Python 2.7.6 (default, Sep 9 2014, 15:04:36) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> Question(s): Does anyone know where the Python 3.4.3 interpreter was installed? Do I need to uninstall Python 2.7.3 (if so, how do I go about

PackageApplication stopped working with OS X 10.10 (Yosemite) today

时光毁灭记忆、已成空白 提交于 2019-11-30 07:24:28
UPDATE: The correct answer is probably this one: Xcode 6.1 error while building IPA Using Jenkins to build iOS projects from repositories since a few years. Suddenly today a new error occurs, stopping builds. I think I based most of this setup on this tutorial way back: http://www.raywenderlich.com/22816/beginning-automated-testing-with-xcode-part-22 This step causes the error: # 4 echo "*** Post build step 4" /usr/bin/xcrun -sdk iphoneos PackageApplication \ -o "${IPA_DIR}/${PROJECT}.ipa" \ -verbose "${APP}" \ -sign "${SIGNING_IDENTITY}" \ --embed "${PROVISIONING_PROFILE}" It's a bit tricky

Get localhost running on mac OS X Yosemite

天大地大妈咪最大 提交于 2019-11-30 06:54:26
问题 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

Homebrew GDB can't open core file on Yosemite 10.10

帅比萌擦擦* 提交于 2019-11-30 05:22:07
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" for details. This GDB was configured as "x86_64-apple-darwin14.0.0". Type "show configuration" for

Animate custom presentation of ViewController in OS X Yosemite

浪尽此生 提交于 2019-11-30 05:18:25
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:(NSViewController *)fromViewController - (void)animateDismissalOfViewController:(NSViewController *)viewController

How to get the source lists selection highlight to use the Dark Vibrancy appearance in OS X 10.10?

╄→尐↘猪︶ㄣ 提交于 2019-11-30 03:54:49
In OS X 10.10 source lists seem to use the light vibrancy appearance. In the Finder (and in some other third party applications, Things.app for example) the selected item in the source list is indicated by a dark vibrancy appearance. For example, see the Desktop row in the image below. How can I replicate this behaviour? Do I need to use the delegate methods to specify the table row view, -outlineView:rowViewForItem: and attempt custom drawing myself or is there a more straight forward approach? If you make a standard source list UI in Xcode the default highlighting is remain the standard blue

Color picker on mac os-x selects wrong colors

旧时模样 提交于 2019-11-30 03:48:28
问题 Our designer gave me a color value: RGB 217,114,62 In mac image preview I open the color selector, switch to rgb and put in the rgb values. But the color preview seems to be too dark. So I take the color picker and select the color in the preview window. And instead of the same values, it shows RGB 206,93,48. First I thought some sort of color profile would change the colors. But reapeating the procedure with this darker color does not result in a third value. It stays 206,93,48. Then I

Strange Visual Studio TFS behavior when working on a Mac file share/unc path

半城伤御伤魂 提交于 2019-11-30 03:26:33
问题 I'm working on a Mac with Yosemite. Yesterday I installed Update 4 of Visual Studio 2013 and noticed a strange behavior when working with TFS 2013 (and TFS as SCM). My source files are mapped to a UNC path on my Mac as a local workspace. When I do changes to my files and try to check-in I get the following message: \\psf\Home\Documents\My\TFS\Customerproject\Source\Calculation\WeightCalculation.cs: Access to the path is denied. When I shelve my changes and unshelve them, I can check-in the

How do you use the dark vibrancy on an NSWindow?

萝らか妹 提交于 2019-11-30 01:57:44
What is the correct way to use the Vibrant Dark ( NSAppearanceNameVibrantDark ) or Vibrant Light ( NSAppearanceNameVibrantLight ) modes with an NSWindow ? I'm building an application and would like to offer the new Vibrant Dark appearance as an option for the main application's NSWindow . The window itself is a pretty straight forward window with an NSToolbar across the top and a scroll view as the main content area. There's plenty of information from Apple on using the new vibrancy appearances in conjunction with an NSVisualEffectsView , but I'm looking for clarification on how to use those

Swift Bindings won't work Xcode 6 Beta 5

天大地大妈咪最大 提交于 2019-11-30 01:53:16
问题 I'm doing a simple test program using bindings in Swift on OSX. Having an NSTableView, NSArrayController and a model class I try to hook them up together, but without success! The build compiles but gives instantly this error: Thread 1: EXC_BAD_ACCESS(code=1, address = 0x0) Code looks like this: model class: import Foundation class Name { var firstName = "Brook" var lastName = "Brooklyn" } view controller: import Cocoa class ViewController: NSViewController { dynamic var names = [Name]() //