无法注册引导服务器 [英] Couldn't register [...] with the bootstrap server

查看:126
本文介绍了无法注册引导服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在iOS模拟器上启动应用程序时遇到此错误:

I keep getting this error when launching my app on the iOS Simulator:

Couldn't register com.mycompany.MyApp with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.

我已经阅读了有关此错误的其他报告,似乎没有明显的解决方法(重新启动) iOS模拟器,重新启动Xcode等。)

I've read other reports of this error and it seems there is no obvious fix for it (restarting the iOS Simulator, restarting Xcode etc..)

此时这里列出了我尝试过的事情:

At this point here's a list of things I've tried:


  • 重新启动模拟器

  • 重新启动Xcode

  • 重新启动计算机

  • 删除我的应用程序的派生数据和清理

  • 删除iOS模拟器应用程序支持目录

  • 恢复为2周旧版本的应用程序(其中工作2周前)

  • 在模拟器中删除应用程序(通过单击并按下X按钮)

  • 升级Xcode表单4.1到4.2,并在iOS模拟器4.3和5.0中运行应用程序

  • Restarting the Simulator
  • Restarting Xcode
  • Rebooting my machine
  • Deleting my app's Derived Data, and Cleaning
  • Deleting the iOS Simulator App Support directory
  • Reverting to a 2 weeks old version of the app (which was working 2 weeks ago)
  • Deleting the application in the Simulator (by clicking-holding on it and hitting the X button)
  • Upgrading Xcode form 4.1 to 4.2, and running the app both in iOS Simulator 4.3 and 5.0

没有任何效果,我仍然得到相同的bootstrap错误..任何(在这一点上,我的确意味着任何)建议将不胜感激。

Nothing worked, I still get the same bootstrap error.. Any (and at this point I really do mean ANY) suggestion would be appreciated.

编辑:只是想添加tha应用程序在设备上正常运行。我只在模拟器上得到这个错误...

Just wanted to add that the app runs fine on a device. I only get this error on the simulator...

推荐答案

正如GDB所说:


这通常意味着此进程的另一个实例已在运行或挂在调试器中

This generally means that another instance of this process was already running or is hung in the debugger

所以找出它并杀死它。 ;)

我重启了mac,它运行成功。

So find out it and kill it. ;)
I restarted the mac, and it run successfully.

提示:嗯,有时这可能不起作用,所以我强烈建议你按 cmd + 以确保你已经停止了模拟器(或设备) )。我发现在大多数情况下,模拟器(或设备)在崩溃时不会完全停止。每次崩溃甚至正常退出时,我都很难再次按 cmd + 来解决这个问题。希望这会有所帮助。 :)

Tip: Well, this may be not work sometimes, so I strongly suggest that you press cmd+. to make sure that you do have stopped the simulator (or device). I find that in most cases the simulator (or device) will not stop exactly when it crashes. I rarely met this issue again with pressing the cmd+. every time it crashes or even just normal exit. Hope this will be helpful. :)

这篇关于无法注册引导服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆