All Questions

885
votes
63answers
657539 views

What does this mean? "'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X"

I'm trying to link a UILabel with an IBOutlet created in my class. My application is crashing with the following error. What does this mean? How can I fix it? *** Terminating app due to uncaught ...
1174
votes
36answers
387968 views

How to check for an active Internet connection on iOS or OSX?

I would like to check to see if I have an Internet connection on iOS using the Cocoa Touch libraries or on OSX using the Cocoa libraries. I came up with a way to do this using an NSURL. The way I did...
761
votes
29answers
627338 views

Setting environment variables in OS X?

What is the proper way to modify environment variables like PATH in OSX? I've looked on Google a little bit and found 3 different files to edit: /etc/paths ~/.profile ~/.tcshrc I don't even have ...
1029
votes
43answers
1041240 views

How can I develop for iPhone using a Windows development machine?

Is there any way to tinker with the iPhone SDK on a Windows machine? Are there plans for an iPhone SDK version for Windows? The only other way I can think of doing this is to run a Mac VM image on a ...
786
votes
18answers
227676 views

Git ignore file for Xcode projects

Which files should I include in .gitignore when using Git in conjunction with Xcode?
99
votes
10answers
46818 views

Ruby Gem install Json fails on Mavericks and Xcode 5.1 - unknown argument: '-multiply_definedsuppress'

I was trying run gem install json and got the following error Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ru...
197
votes
8answers
375725 views

How to uninstall Python 2.7 on a Mac OS X 10.6.4?

I want to completely remove Python 2.7 from my Mac OS X 10.6.4. I managed to remove the entry from the PATH variable by reverting my .bash_profile. But I also want to remove all directories, files, sy...
339
votes
12answers
366823 views

Xcode - install Command Line Tools

How do I get the command line builds tools installed with current Xcode / Mac OS X v10.8 (Mountain Lion) or later? Unlike Xcode there is no installer (it's just a bundle). It looks li...
61
votes
7answers
111679 views

Update OpenSSL on OS X with Homebrew

I'm using MacOS X 10.7.5 and I need a newer OpenSSL version due to handshake failures. There are several tutorials on the internet and I tried the following: brew install openssl brew link openssl --...
15
votes
3answers
17329 views

Android update 17 seems incompatible with external Jars

I just allowed my Mac to do an update on its Java installation and now some of my old jars (like javax.mail and apache.commons.httpclient) are throwing "class not found" exceptions at run time! Meani...

Previous Next