Problem when use compiled .A with simulator mode
- by Paska
Hi all,
i have a lib .a that run only in device mode.
My sdk vers is 4.2 with xcode 3.2.x.
In simulator, compile correctle with no warning and no errors, but in run mode (simulator) it crash with this error:
Detected an attempt to call a symbol
in system libraries that is not
present on the iPhone:
strtod$UNIX2003
called from function pj_init in image
MyAPP. 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”.
I try to clean, rebuild and set "set start-with-shell off" from terminal in this way:
cd ~
echo '' >> .gdbinit
echo 'set start-with-shell 0' >> .gdbinit
Restarted all, but nothing. The problem don't wont to resolve!
Is there any tag or property that i forgotted to set in the options?
In other linker flag is there only "-ObjC".
It's very important to solve this issue... any idea please?
thanks,
A
EDIT: It's my lib, compiled in simulator mode!
EDIT: It run only with Simulator 4.1. Don't work with iphone 4.0, 4.2 and ipad 3.2 (all simulator).