Unit tests no longer work after upgrading Xcode from 3.2.3 to 3.2.4

I just upgraded my Xcode to 3.2.4, and it turned out that my unit tests no longer work. I set up the target and executable files according to instructions from Scott Densmore , so that I can debug my tests.

I changed the base SDK to iOS4.1 for my test goal (LogicTests) and updated the path to the otest script for my executable (otest).

However, despite the fact that my application works in the iPhone simulator, the execution of unit tests always fails. Here, what the console should say when I try to run the tests:

[Session started at 2010-09-15 23:28:37 +0200.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Wed Jul 21 10:53:12 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".tty /dev/ttys014
Loading program into debugger…
Program loaded.
run
[Switching to process 12125]
warning: The target crashed on startup, maybe the shell is crashing.
"Try set start-with-shell 0" to workaround.

The Debugger has exited due to signal 6 (SIGABRT).The Debugger has exited due to signal 6 (SIGABRT).

I would be grateful for any help you could offer! Thanks in advance.

Cheers, Georg

+3
1

. , , DYLD_FORCE_FLAT_NAMESPACE. , . , , .

+2

Source: https://habr.com/ru/post/1764987/


All Articles