[ALOY-917] Alloy RSS Sample generates runtime error on iPhone
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-01-18T02:00:08.000+0000 |
Affected Version/s | Alloy 1.3.0 |
Fix Version/s | 2014 Sprint 01 |
Components | Samples & Templates |
Labels | n/a |
Reporter | Tim Statler |
Assignee | Tony Lukasavage |
Created | 2014-01-01T02:21:26.000+0000 |
Updated | 2014-01-20T17:59:57.000+0000 |
Description
Appcelerator Studio, build: 3.2.0.201312191455/Titanium Studio, build: 3.2.0.201312191547/TiSDK: 3.2.0.GA
1. In the Samples view, import the RSS Reader as a new sample project.
2. Build and run for iPhone sim/device.
Results: Error on launch w.r.t to createNavigationGroup() method, which was removed (I believe) in TiSDK 3.2.0.
Attachments
Tony, could you help take a look?
[~tstatler] I'm assuming you have a version of Alloy prior to 1.3.0 installed. The sample wasn't changed to use NavigationWindow until 1.3.0. Can you please confirm?
I have Alloy 1.3.0 installed:
I'm looking at the RSS sample in 1.3.0 and it does indeed use a NavigationWindow, so something is amiss here. [~mxia] is it possible that TiStudio is referencing something other than [~tstatler]'s installed alloy version? Is there any way for him to troubleshoot that?
I imported the latest RSS sample from Appcelerator Studio, and for iOS, it is using NavigationWindow. Also running the app on iOS simulator works for me. Tim, could you attach the build console output?
Attaching build console output.
Hmm, the ios/index.xml file doesn't appear to match the latest version. It could be that the alloy version you have is from an earlier build of 1.3.0, not the GA version. Could you try to reinstall it from command line using "sudo npm install -g alloy@1.3.0" and then re-import the sample from Studio to see it helps?
Yes, re-installing Alloy fixed the problem. Thanks.
Cool, will resolve the ticket then.