What means: libtool: -dynamic not specified the following flags are invalid: -ObjC
Posted
by
Olie
on Stack Overflow
See other posts from Stack Overflow
or by Olie
Published on 2010-11-30T20:18:33Z
Indexed on
2011/03/10
8:10 UTC
Read the original article
Hit count: 778
I inherited a project (lucky me!) which relies on a static library. Trying to build the static lib, I get this error:
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: -dynamic not specified the following flags are invalid: -ObjC
It is followed by these two lines, which I do understand, but this appears to be a separate problem (missing file.)
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: can't locate file for: -lFlurryWithLocation
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: file: -lFlurryWithLocation is not an object file (not allowed in a library)
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool failed with exit code 1
Am I wrong, and it's all related? Will the 1st line error go away if I fix the missing file part?
Either way, what does the -dynamic not specified
part of message mean?
Thanks!
© Stack Overflow or respective owner