PocketSphinx, file is not of required architecture in iPhone Device but working in simulator?
Posted
by Jeevan
on Stack Overflow
See other posts from Stack Overflow
or by Jeevan
Published on 2010-04-27T00:05:19Z
Indexed on
2010/04/27
0:33 UTC
Read the original article
Hit count: 382
Hello all,
I'm new to apple development, For my Uni project I try developing an application for iPhone using PocketSphinx to recognise speech commands...
I used the "build_for_iphoneos.sh" script available in PocketSphinx SVN and SphinxBase. Program working without any issues when i try it on simulator, today I try to deploy on device and it's giving me this error? can any one help me solve this please?
Error:
ld: warning: in /Users/me/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/lib/libpocketsphinx.a, file is not of required architecture
ld: warning: in /Users/me/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/lib/libsphinxbase.a, file is not of required architecture
and the rest of the references to functions report undefined error!
any help? Thanks. Jeevan
© Stack Overflow or respective owner