Project: appceleratorstudio
Issue TISTUD-1407: Add platform attribute to module element(s)
When a module that supports only a single platform is added to a project using the new modules table, the module element is added to tiapp.xml but it is missing the platform tag. Steps to reproduce: 1. Create a new mobile application project -- use defaults of all application target types 2. Click on the button to add a new module (+) 3. Select a module that is only available on one platform (e.g. ti.push) 4. Save the project 5. Attempt to run the application in the iPhone simulator 6. Build should fail with an error indicating that the ti.push module is missing Without the 'platform' tag on the module entry, the build script will attempt to locate the module for all application targets. The module element needs to include the 'platform' tag so that the module is only searched for when building for that target. For example, 'platform="android"'. Also, without the 'platform' tag the module displays in the Modules table with its version number available on all platforms -- which is incorrect since it is only available on the single platform.
Story points: 8