osx-yosemite

Is it ok to install both Python 2.7 and 3.5?

守給你的承諾、 提交于 2019-12-18 19:04:20
问题 Supposedly Python 2.7 is included native to OSX 10.8 and above (if I remember correctly), but I recently installed Python 3.5 to use for projects while I work through UDacity. Lo and behold, the UDacity courses seem to use 2.7 - wups! So instead of trying to uninstall 3.5 (this procedure seemed to scary for neophytes such as myself), I simply installed 2.7 in addition to the recently installed 3.5 and just run the 2.7 IDLE and Shell. Is this ok, or will I run into problems down the road? 回答1:

iOS ipa codesign on XCode 6.1 & Yosemite

廉价感情. 提交于 2019-12-18 18:51:14
问题 I was used to sign my app with the following command codesign --resource-rules=ResourceRules.plist -f -s "SIGNER_NAME" MYAPP.app After installing Yosemite and XCode 6.1 it gives the following warning: Warning: --resource-rules has been deprecated in Mac OS X >= 10.10! So I tried to remove the "--resource-rules" but now it gives the following (blocking) error: invalid resource specification rule(s) Is there any right way to codesign ? 回答1: Over on this post They answer your question. That post

Missing /usr/include after Yosemite and Xcode install?

99封情书 提交于 2019-12-18 16:47:47
问题 Seeing an odd issue that's not happening on two other workstations. After a recent reinstall of Yosemite with Xcode and the command line tools, I've found that my /usr/include is not present on this particular workstation. I'm able to build packages with Homebrew at the moment and various other tasks work seemingly fine, but when I went to start building some kernel extensions, to my horror, I found this folder entirely absent. Any thoughts on what may be going on here? 回答1: Interestingly the

XAMPP - Mysql stopped working on OS X Yosemite (10.10)

给你一囗甜甜゛ 提交于 2019-12-18 16:30:16
问题 I Installed XAMPP 1.8.3-1 on OS X Maverick and all was well, until I upgraded to Yosemite last night, Now when I try to start MySQL in the manager it won't start. Activity monitor shows no other MySQL processes running. While in the error log I find this message: 2014-08-06 17:19:04 5277 mysqld_safe Starting mysqld daemon with databases from /Applications/XAMPP/xamppfiles/var/mysql dyld: Symbol not found: _sqlite3_intarray_bind Referenced from: /System/Library/Frameworks/CoreData.framework

How to cope with non-gcc compatible code in OS X Yosemite Core headers

你说的曾经没有我的故事 提交于 2019-12-18 13:34:20
问题 I maintain a mixed C and C++ command line program that needs to run on Linux, Windows, and OS X. I recently upgraded to Yosemite and my OS X build is now failing. The error is: /usr/include/dispatch/object.h:143:15: error: expected identifier or '(' before '^' token Other folks have run into this bug. The line of code that fails is a typedef that uses '^' which is a non-standard extension providing support for closures. The underlying problem seems to be that some Apple standard headers are

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

﹥>﹥吖頭↗ 提交于 2019-12-18 12:44:45
问题 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

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

☆樱花仙子☆ 提交于 2019-12-18 10:43:19
问题 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

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

时光总嘲笑我的痴心妄想 提交于 2019-12-18 10:42:12
问题 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

Xcode & Swift - Window without title bar but with close, minimize and resize buttons

血红的双手。 提交于 2019-12-18 09:54:47
问题 I am currently using Swift in Xcode 6, Beta 5. I am trying to remove the title bar, or any visible difference between the title bar and the actual content. If I enable "Unified title and toolbar" in the Attributes Inspector on a Window, nothing visibly happens. I have already left the title out. When no title is entered, the title bar will still be distinguishable because of the border line and background difference with the rest of the window, separating it from the actual content. An

How do I replace my HPC gfortran with Homebrew gfortran?

纵然是瞬间 提交于 2019-12-18 07:14:36
问题 I currently have Xcode (along with command line tools) and gfrotran from HPC installed on my Yosemite system, and would like to replace HPC's gfortran with Homebrew's (because I'm having trouble building Python packages with the HPC gfortran). What are the steps to accomplish this? I want to be sure that HPC's gfortran is gone (I just want one Fortran) and Apple's tools still work (for Xcode, Swift, OS X and iOS development, etc.) and of course that I have a working version of gfortran that