I am using Qualcomm library for my application. My application works fine on iPhone 4S but when I try to install on iPhone 4 then it crashes. The relevant code is:
QCAR::Frame frame = state.getFrame();
int frame.getNumImages();
with the app crashing on the getNumImages
line.
I've tested the app on instrument with leaks option and it show me leaks on:
NSInteger initSuccess = QCAR::init();
with the "Heavies Backtrace" message.
How can I prevent this from crashing?