2011-03-10 69 views
0

在调试会话期间(调试|模拟器)我得到了这个。我如何设置'开始与壳'关闭? (我看了,找不到有关如何做到这一点的任何文档)。如何设置'开始与壳'关闭?

[Session started at 2011-03-10 09:05:22 -0800.] 
GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Wed Sep 22 02:45:02 UTC 2010) 
Copyright 2004 Free Software Foundation, Inc. 
GDB is free software, covered by the GNU General Public License, and you are 
welcome to change it and/or distribute copies of it under certain conditions. 
Type "show copying" to see the conditions. 
There is absolutely no warranty for GDB. Type "show warranty" for details. 
This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all 
Attaching to process 1734. 
Detected an attempt to call a symbol in system libraries that is not present on the iPhone: 
pthread_mutexattr_destroy$UNIX2003 called from function pthreadMutexAlloc in image PointsEncodeDecode. 
If you are encountering this problem running a simulator binary within gdb, make sure you 'set start-with-shell off' first. 
Program received signal: “SIGABRT”. 
kill 
quit 

The Debugger has exited with status 0.(gdb) 
+0

可能的重复[应用程序崩溃与4.2 iPhone模拟器'设置开始与外壳'](http://stackoverflow.com/questions/4271480/app-crashes-with-4-2-iphone-simulator- set-start-with-shell-off),[valgrind和iOS SDK 4.2?](http://stackoverflow.com/questions/4599462/valgrind-and-ios-sdk-4-2)和其他各种... – 2011-03-10 17:48:48

+0

是的,我看到...没有为我工作... – SpokaneDude 2011-03-11 04:19:08

回答

0

我得到了这个问题,因为我更新到3.2.5的XCode与iOS 4.2

从我用的是原生librairies,在需要的iOS4下重新编译我的问题来了。看来,这个iOS版本与前一个版本不是完全二进制兼容的...

否则,请尝试新版本的XCode 4和iOS4.3以查看它是否可以解决您的问题。

+0

嗨rockeye ...尝试XCode 4,它让事情变得更糟...它找到了我已从我的应用程序两周前删除的文件.. 。我要再试一次,并做一个清洁...除此之外,我不知道还有什么要做。 – SpokaneDude 2011-03-11 14:42:22

+0

重置所有模拟器。从一个版本到另一个版本,它们可能保留了一些损坏的依赖关系或其他。如果不起作用,请使用绝望的解决方案:尝试从您的计算机上彻底删除XCode,然后重新安装。 – rockeye 2011-03-11 16:47:09

+0

你如何“重置”模拟器?我知道如何清理依赖关系等,但不知道如何重置模拟器。 – SpokaneDude 2011-03-11 17:00:44