{ "id": "105125", "key": "AC-2007", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-04-02T23:59:16.000+0000", "created": "2012-11-16T15:34:12.000+0000", "labels": [ "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:40:57.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "1. Create new project for iOS\r\n2. Edit app.js with something like this:\r\n// app.js\r\n{code}\r\nvar AppStartWindow = require('/AppStartWindow');\r\nnew AppStartWindow().open();\r\n{code}\r\n3. Create AppStartWindow.js in /Resources/iphone/\r\n{code}\r\nfunction AppStartWindow(){\r\nreturn Ti.UI.createWindow();\r\n}\r\nmodule.exports = AppStartWindow;\r\n{code}\r\n4.1 Test on iPhone simulator: it works!\r\n4.2 Test on iPhone device: it fails…\r\n\r\nThis works for Ti SDK 2.1.3 - it is a 2.1.4 specific issue.", "attachment": [], "flagged": false, "summary": "iOS: Ti Modules used only in /iphone are not included in build for iOS devices on Ti SDK 2.1.4", "creator": { "name": "hannes@party-is-on.de", "key": "hannes@party-is-on.de", "displayName": "Hannes Becker", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hannes@party-is-on.de", "key": "hannes@party-is-on.de", "displayName": "Hannes Becker", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 2.1.4, XCode 4.5.2, iOS 6.0.1", "comment": { "comments": [ { "id": "227684", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "Link to user's Q&A question:\r\n[http://developer.appcelerator.com/question/144737/ui-modules-not-included-while-building-for-ios-device-in-ti-214]", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2012-11-16T16:07:25.000+0000", "updated": "2012-11-16T16:07:52.000+0000" }, { "id": "245360", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Additional user comments from Q&A:\nI got it: AppStartWindow.js was in IPhone-folder. It seems to be a bug on 2.1.4 that files in there are not respected during ipa-generation?!\nIf AppStartWindow is put directly in root, everything works... Please fix!", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T23:46:08.000+0000", "updated": "2013-04-02T23:46:08.000+0000" }, { "id": "245368", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Checked placing the AppStartWindow.js in the /resources/iphone folder. Made a slight modification to the window creation so I could see the window opening. It worked as expected with:\n\nMac OS 10.8.3\nSDK: 3.1.0.v20130402092426\nAppcelerator Studio, build: 3.1.0.201303312320\nCLI 3.1.0-beta\nnode-appc 1.0.29-beta", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T23:59:04.000+0000", "updated": "2013-04-02T23:59:04.000+0000" }, { "id": "281345", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Closing per Hannes' comment.", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-26T05:53:23.000+0000", "updated": "2013-11-26T05:53:23.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }