Problem when use compiled .A with simulator mode

Posted by Paska on Stack Overflow See other posts from Stack Overflow or by Paska
Published on 2011-01-13T10:30:09Z Indexed on 2011/01/13 10:53 UTC
Read the original article Hit count: 234

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

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c