Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I'm logged in to an account using Network Home Directories, I get the following error when I try to build and run an iOS application in Xcode 4:

6/20/12 5:33:22.818 PM Xcode: Error launching simulated application: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "The simulated application quit." UserInfo=0x402da70a0 {NSLocalizedDescription=The simulated application quit., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}

How can I resolve this?

share|improve this question

Create an iPhone Simulator folder on a local disk, and link to it from the network home:

rm -Rf "~/Library/Application Support/iPhone Simulator"
mkdir "/Volumes/Local/$USER/.iPhoneSimulator"
ln -s "/Volumes/Local/$USER/.iPhoneSimulator" "~/Library/Application Support/iPhone Simulator"
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.