Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch Error #21

Closed
chenbinghui opened this issue Apr 5, 2012 · 8 comments
Closed

Launch Error #21

chenbinghui opened this issue Apr 5, 2012 · 8 comments

Comments

@chenbinghui
Copy link

[DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "Unknown error." UserInfo=0x102002aa0 {NSLocalizedDescription=Unknown error., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}

After I spent 3 hours to make this project to run in 10.7 and Xcode 4.3.2, I got some error like above. Does anyone know about this?

@alloy
Copy link

alloy commented Apr 5, 2012

There are some known issues with the iOS simulator. I’m almost embarrassed to use this phrase, but: have you restarted your computer yet? :)

@tvon
Copy link

tvon commented Aug 14, 2012

#8 and #15 seem to show the same error without a solution.

@spirosoik
Copy link

any solution for this! i get the same error

@tvon
Copy link

tvon commented Dec 19, 2012

My issue was that I was trying to run it from within tmux, it runs fine in a vanilla terminal (or from within screen).

@sukima
Copy link

sukima commented Jan 25, 2013

I can confirm that this is a problem with tmux. Tried in vanilla shell and it works.

@x1024
Copy link

x1024 commented Mar 21, 2013

Thanks, you saved me a lot of time. This should really be in the README file.

@ecornell
Copy link

ecornell commented Jun 4, 2013

tmux workaround

To get ios-sim to launch correctly within tmux use the reattach-to-user-namespace wrapper.

% reattach-to-user-namespace ios-sim launch ./build/MyTestApp.app

source: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
brew: brew install reattach-to-user-namespace

@shazron
Copy link

shazron commented Jun 7, 2013

Thanks @ecornell - I updated the README with your workaround

@shazron shazron closed this as completed Jun 7, 2013
matti pushed a commit to AppGyver/ios-sim that referenced this issue Jan 22, 2014
matti pushed a commit to AppGyver/ios-sim that referenced this issue Jan 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants