osx-mavericks

Custom login/lock screen in OS X Mavericks

删除回忆录丶 提交于 2019-11-29 00:28:17
I'm trying to override the default login/lock screen in OS X to allow the user to login in other way than providing a password (think fingerprint scanner or how "Knock to unlock" works), and I'm looking for a way to do it for hours now - all I found that looks useful is the Authorization Plugin ADC reference and this example: https://developer.apple.com/library/mac/samplecode/NameAndPassword/Introduction/Intro.html#//apple_ref/doc/uid/DTS10004022 This NameAndPassword xcode project is a little outdated, but I managed to build it simply by specifying the Base SDK (there was a hardcoded wrong

EXC_BAD_ACCESS (code=1, address=0x0) when stepping in debugger

℡╲_俬逩灬. 提交于 2019-11-28 20:55:35
问题 My application crashes each and every time I try to step over a call. Without debugger it works fine. Also, when I run the app in simulator it woks fine with or without debugger. Recently I upgraded my Mac OS X 10.8 to 10.9 (Mavericks). There were no issues before the upgrade. What causes the issue and how could I fix it? Below is the back trace. My app uses ARC. I have enabled zombies and added exception breakpoint but no zombies where detected and exception breakpoint is never triggered. *

Building C++ not working in OSX 10.9

落爺英雄遲暮 提交于 2019-11-28 20:38:07
Update: I solved the problem in the end by reinstalling command line tools, as shown in this link . Sorry for the trouble! Initial question I have just upgraded to OSX Mavericks and I cannot make the compiler work anymore. I've been using gcc48 from macports with vim/sb2 and everything was working just fine. Now any library that I include gives tons of errors. I am not very experienced and I do not know what to do, or what to search for. I just want it to work like before. Here is what is says when compiling a basic "hello world" program: In file included from /opt/local/include/gcc48/c++/bits

git error “unable to locate xcodebuild” after a fresh OS X Mavericks upgrade

走远了吗. 提交于 2019-11-28 20:26:02
When I try to run previously working git commands, I get this: dyld: Symbol not found: _sqlite3_intarray_bind Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData Expected in: /opt/local/lib/libsqlite3.dylib in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData git: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly! git: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch How can I fix this? This works for me sudo xcode-select --switch /Library/Developer

How can I make an “appearance file” for NSAppearance?

可紊 提交于 2019-11-28 20:21:03
问题 I was reading the Cocoa documentation and stumbled across some new features in the 10.9 API. From the docs I gather that the NSAppearance class and a related protocol NSAppearanceCustomization Appear to be a means of customizing the appearance of NSView and its descendants. An NSAppearance object represents a file that specifies a standard or custom appearance that applies to a subset of UI elements in an app. An app can contain multiple appearance files and—because NSAppearance conforms to

Pip Install Twisted Error 1

送分小仙女□ 提交于 2019-11-28 20:17:21
When using pip install Twisted in virtualenv on Mac osx 10.9.4, I get this result: Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/9r/3b500gbs3093ms87mqqbckr80000gn/T/pip-build-doynftp7/twisted/ I am not sure how to resolve. I used easy_install, but I get a SSL verification issue. Anyone have similar issue? The rest of error message is below. Collecting twisted Using cached Twisted-16.6.0.tar.bz2 Complete output from command python setup.py egg_info: Download error on https://pypi.python.org/simple/incremental/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate

Installing RMySQL in mavericks

余生长醉 提交于 2019-11-28 19:55:49
I am having trouble installing RMySQL. I am trying to install it from its source in the following way: install.packages("/path/to/package/RMySQL_0.9-3.tar.gz",repos = NULL,type="source") Then I get: Installing package into ‘/Users/Library/R/3.1/library’ (as ‘lib’ is unspecified) * installing *source* package ‘RMySQL’ ... ** package ‘RMySQL’ successfully unpacked and MD5 sums checked checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables...

Mavericks, RBENV, Your Ruby version is 2.0.0, but your Gemfile specified 2.1.1

假装没事ソ 提交于 2019-11-28 18:58:08
I've read and tried the suggestions in several , other , questions , like mine (all with accepted answers) as well as a few more hours of Google searching, but nothing worked. That leads me to think my issue is something corrupt with a piece of Ruby/RBENV ecosystem on my computer or maybe a dreaded PATH issue. I always have to run sudo to install any gems, which I've never had to do before, so that's puzzling too. Here are some outputs of files & commands I think are relevant. If you need more information, please let me know: .zshrc export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" if

xcode 5 deprecation warning about glut functions

核能气质少年 提交于 2019-11-28 18:47:16
I just upgrade my mac os x 10.6.8 to 10.9 this morning. Everything goes fine except the Xcode 5 with OpenGL Glut APIs. Whenever I run my program involving glut functions, I got 30 deprecation warns, like: 'gluErrorString' is deprecated: first deprecated in OS X 10.9. 'glutBitmapCharacter' is deprecated: first deprecated in OS X 10.9. 'glutSwapBuffers' is deprecated: first deprecated in OS X 10.9. 'glutDisplayFunc' is deprecated: first deprecated in OS X 10.9. 'glutIdelFunc' is deprecated: first deprecated in OS X 10.9. ... Change "OS X Deployment Target" back to OSX10.8, then it works. Hope

Install any version of ruby with RVM on mavericks

喜你入骨 提交于 2019-11-28 18:23:36
I've just upgraded to osx mavericks, and I want to install ruby 2.0, but I'm getting configure: error: cannot run C compiled programs. errors. I update rvm with rvm get stable and then type rvm install 2.0.0 and get an error directing me to a log file. The log file contains: configure: WARNING: unrecognized options: --without-tcl, --without-tk checking build system type... x86_64-apple-darwin13.0.0 checking host system type... x86_64-apple-darwin13.0.0 checking target system type... x86_64-apple-darwin13.0.0 checking whether the C compiler works... yes checking for C compiler default output