Closed sindresorhus closed 12 years ago
I fixed this the other day. Download and rebuild again.
I'm also having problems with running this module in iOS5.
I downloaded the latest source from github (9f56bfa), compiled it in XCode 4.2 with the help of the url you mentioned (http://wiki.appcelerator.org/display/guides/iOS+Module+Development+Guide), copied the libti.smsview.a file into modules/iphone/ti.smsview/1.0 and then used the app.js from the samples directory.
As soon as I run the app using the iPhone 5.0 simulator, it crashes out:
[DEBUG] Session did end with error Error Domain=DTiPhoneSimulatorErrorDomain Code=1 UserInfo=0x10030fb90 "The simulated application quit." [INFO] Application has exited from Simulator
It works fine in the iPhone 4.3 simulator. I'm using Titanium SDK 1.7.5, but i've also tested it on 1.7.6.v20111114104114 and 1.8.0v20111114103905, and it also doesn't work on either of those.
I've also tested this in Ad-hoc mode on an iPhone 4 running iOS 5.0.1, and it also bombs out.
Could you please have a look at this? Or if it's difficult is there a workaround.
Thanks!
I think I found the solution. In the example app.js at the bottom. Change
win.open({modal:true,animated:false});
to
win.open()
You might also have to che the orientation options. I removed those too. Now it works well.
Works for me in 1.1 and Titanium 1.8. Closing.
When building the example app (commit 9f56bfad474711ec7f0f807a63994ec7c2eba814) with the iOS 5 SDK it crashes. It works fine with 4.3.2.
Titanium Mobile SDK 1.7.3
Console dump: