How-to: Difference between revisions

From CSLLabWiki
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:


=== Set up iPhone Development Environment ===
=== Set up iPhone Development Environment ===
So, you want to develop iPhone applications?  Great.  Unfortunately, Apple's xCode environment and iPhone simulator do not play well with NFS mounted partitions.  Don't know why, but here's the work around.
First, attempt to do the iPhone "Hello World" project.    This will fail miserably since the simulator will not work on your NFS mounted home directory.
Second, goto a terminal.   
Remove the directory Library/Application Support/iPhone Simulator which is in your home directory.
Make a directory, called whatever your user id is, in /usr/local/iphone-dirs
Finally, link this new directory to where the old one used to be.  This is the only command you've not seen before and it will look like this:
ln -s /usr/local/iphone-dirs/my-dir/ "iPhone Simulator"
Assuming the Ares is in ascension, all should now work.  You will need to do this on each Mac you want to work on.


=== Request A "public_html" Hosted Web Page ===
=== Request A "public_html" Hosted Web Page ===

Revision as of 17:53, 27 April 2010

Description of lab and equiptment

How To's

Change Your CS Lab Password

Set up iPhone Development Environment

So, you want to develop iPhone applications? Great. Unfortunately, Apple's xCode environment and iPhone simulator do not play well with NFS mounted partitions. Don't know why, but here's the work around.

First, attempt to do the iPhone "Hello World" project. This will fail miserably since the simulator will not work on your NFS mounted home directory.

Second, goto a terminal.

Remove the directory Library/Application Support/iPhone Simulator which is in your home directory.

Make a directory, called whatever your user id is, in /usr/local/iphone-dirs

Finally, link this new directory to where the old one used to be. This is the only command you've not seen before and it will look like this:

ln -s /usr/local/iphone-dirs/my-dir/ "iPhone Simulator"

Assuming the Ares is in ascension, all should now work. You will need to do this on each Mac you want to work on.

Request A "public_html" Hosted Web Page