Как отключить 'start-with-shell'? - PullRequest
0 голосов
/ 10 марта 2011

Во время сеанса отладки (Debug | Simulator) я получил это. Как мне отключить 'start-with-shell'? (Я посмотрел и не могу найти никаких документов о том, как это сделать).

[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) 

1 Ответ

0 голосов
/ 11 марта 2011

Я получил эту проблему, так как я обновил до XCode 3.2.5 с iOS 4.2

Моя проблема возникла из-за использования собственных библиотек, которые нужно было перекомпилировать под iOS4.Похоже, что эта версия iOS не полностью совместима с предыдущей бинарной ...

В противном случае, попробуйте новую версию XCode 4 и iOS4.3, чтобы посмотреть, решит ли она вашу проблему.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...