尝试将代码加载到我的 ios 设备时出现调试问题
当我使用我的 ios 设备运行我的应用程序时。编译器立即转到以下代码:
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
并且我从“所有输出”中收到以下消息:
警告:本地未找到 SubstrateLoader.dylib 的副本,正在从远程设备上的内存中读取。这可能会减慢调试会话的速度。 无法向引导服务器注册 XXXXX。错误:未知错误代码。 这通常意味着该进程的另一个实例已经在运行或挂在调试器中。(gdb)
知道为什么会发生这种情况吗?
When I run my app using my ios device. the compiler immediatly goes to the following code:
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
and I get the following message from "All Output":
warning: No copy of SubstrateLoader.dylib found locally, reading from memory on remote device. This may slow down the debug session.
Couldn't register XXXXX 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.(gdb)
Any Idea why this is happening??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会咕哝出经典的 IT 支持口号:
有时,设备上的调试会话会在设备实际没有注意到的情况下断开连接,从而阻止任何进一步尝试打开新的调试会话。
如果发生这种情况,您最好的选择是重新启动设备......
I'll mumble the canonical IT-Support mantra:
From time to time, the debugging session on the device disconnects without the device actually noticing it, thus blocking any further attempts to open a new debugging session.
If that happens, your best option is to reboot the device…