Hello Francesco,
It seems you are mixing libraries for i386 architecture (that works only on 
simulator and mac) with the libraries for ARM (that works on the real device).
I suspect there is something wrong on the creation of the library and your 
library results in a lack of ARM symbols.

Can you post how you are building the library ?
In any case, it’s not a problem of Xcode version. You can upgrade to 7.0 :-)

Ciao,
Gianluca.


Il giorno 26/ott/2015, alle ore 23:14, Francesco Lamonica via Interest 
<[email protected]> ha scritto:

> Hi all,
> i have built a simple library statically with Qtcreator 3.5.1 (Qt 5.5.1) on a 
> mac running os X 10.10.5. I did this with Xcode 7.0 /7.1 and then downgraded 
> to 6.4.1 but the problem is the same.
> I can compile the library but then the sample app to test it fails at linking 
> time with the following error:
> 
> ld: warning: ignoring file 
> ../lib/last_build/libMyLib_iphonesimulator_debug.a, file was built for 
> archive which is not the architecture being linked (i386): 
> ../lib/last_build/libMyLib_iphonesimulator_debug.a
> 
> any ideas what might be the problem?
> 
> btw i am positive to be building both library and test app to the 
> iphonesumilator (debug) target and
> building for mac raises no issues
> 
> thanks
> _______________________________________________
> Interest mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to