PocketSphinx, file is not of required architecture in iPhone Device but working in simulator?
- by Jeevan
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