I have used Wikitude's (augmented cammera view) in my iphone application, i have used navigation controller to open a view in which i am using wikitude's augmented cammera view. every thing is working fine but when i try to come back to my previous view using navigation controller button my app is crashing.
i am trying to run this app on ios5 and above devices, my xcode virsion for development is 4.3.1, i am using letest virsion of wikitude sdk 1.1 free trial version.
Please give me Suggessions if u have to come up with is problem.
thank you
A
Andreas Schacherbauer
said
over 8 years ago
Hi,
I created a simple App which demonstrates the usage of UINavigationController with the Wikitude SDK.
Hopefully you can find out whats the problem with your Application and fix it.
Best regards
Andreas
S
Srikanth T
said
over 8 years ago
Hi Andreas,
I too have the same problem of app getting freezed and crashing if run for a long time. I tried with the sample app you posted, that also crashes when run for a long time.
For your reference I am attaching the crash log, please suggest whats wrong....
2012-11-01 14:27:43.416 CampaignBrowser -: unrecognized selector sent to instance 0x1d5ce350
2012-11-01 14:27:43.418 CampaignBrowser *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-: unrecognized selector sent to instance 0x1d5ce350'
libc++abi.dylib: terminate called throwing an exception
(lldb) bt
* thread #5: tid = 0x2317, 0x31a27350, stop reason = signal SIGABRT
frame #0: 0x31a27350
frame #1: 0x39c10973
frame #2: 0x32f7fd4f
frame #3: 0x32f7cff9
frame #4: 0x34133a77
frame #5: 0x32f7d07b
frame #6: 0x32f7d114
frame #7: 0x32f7e599
frame #8: 0x341339d1
frame #9: 0x35d69f21
frame #10: 0x35dc89bb
frame #11: 0x33e9cef7
frame #12: 0x39bb6311
Regards
Srikanth
A
Andreas Schacherbauer
said
over 8 years ago
Hi,
on which device are you running the app and how long does it run until it crashes?
Best regards
Andreas
S
Srikanth T
said
over 8 years ago
Hi Andreas,
I am running the app on iPhone 4S, the same happens even on iPhone 3GS.
This behaviour is occuring when the app runs for 5-10 mins.
Regards
Srikanth
A
Andreas Schacherbauer
said
over 8 years ago
Hi,
thanks for your information. Are you interacting in any kind with the device in this period or does it only rest on your desk?
A
Andreas Schacherbauer
said
over 8 years ago
Hi,
Which iOS and Xcode version are you using? Does the crash occur every time the ARView is shown more than 10 minutes?
Andreas
S
Srikanth T
said
over 8 years ago
I do sometimes but most of the times I observed the crash is when its idle.
Do we need to call AR.ARchitectObject.destroy(); once we are done with the AR functionality?
Regards
Srikanth
S
Srikanth T
said
over 8 years ago
Yes, the crash occurs everytime, I am using XCode 4.3.1 and iOS5.1
Regards
Srikanth
S
Srikanth T
said
over 8 years ago
Hi Andreas,
To update you on my observations since yesterday, I have frequent start/stop/start/... calls on my ArchitectView when ever I switch between AR and non AR Views, and I guess the issue is occuring because of CMMotionManager also being started and stopped as we start/stop ArchitectView. To confirm this what I did is I removed the call to stop on ArchitectView and the now the app doesn't crash, its been 15-20 mins since I ran the app.
vikas karambalkar
2 people have this problem