{ "id": "152671", "key": "AC-490", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-11-11T05:01:45.000+0000", "created": "2015-11-05T14:25:59.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-17T15:00:23.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Running on the simulator works fine. However, when plugging in a device and opening the XCode project and deploying to the device, it cannot find the app.js file. \r\n\r\nStandard code doesnt work:\r\n\r\n~~~\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\n\r\n// create tab group\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n\r\n//\r\n// create base UI tab and root window\r\n//\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'ACP Board ACE',\r\n oldtitle:'ACP Board ACE',\r\n backgroundColor:'#fff',\r\n layout:'vertical',\r\n url:'main.js' ,\r\n backButtonTitle:'',\r\n orientationModes : [Titanium.UI.LANDSCAPE_LEFT, Titanium.UI.LANDSCAPE_RIGHT],\r\n navTintColor:getBlue() \r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n window:win1,\r\n});\r\n\r\n\r\ntabGroup.addTab(tab1); \r\n\r\n\r\n// open tab group\r\n setTimeout(function() {\r\n tabGroup.open();\r\n }, 3000);\r\n\r\n~~~", "attachment": [], "flagged": false, "summary": "5.x SDK and Xcode 7 - No app.js on when installed to device", "creator": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "El Capitan, latest AC, tested all of the 5.x SDK's", "comment": { "comments": [ { "id": "369348", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~joshlewis], According to your description it\"s not clear what do you mean by this \"opening the XCode project and deploying to the device\". Are you trying to run the app to device from Appcelerator studio? Please clear your point. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-11-08T10:41:17.000+0000", "updated": "2015-11-08T10:41:17.000+0000" }, { "id": "369358", "author": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "When you open the build/iphone/Xcode Project, so that you can deploy to a device, archive, setup the correct profiles, etc etc, it always says 'no app.js file'", "updateAuthor": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-08T19:47:33.000+0000", "updated": "2015-11-08T19:47:33.000+0000" }, { "id": "369525", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~joshlewis], For me it's working with xCode 7.1. The project runs on Device iPod5G, iOS 9.0. After I build the project in Appcelerator studio with SDK 5.0.2.GA. Please provide the screenshot and xCode log. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-11-10T08:57:17.000+0000", "updated": "2015-11-10T08:57:17.000+0000" }, { "id": "369828", "author": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "There is no log that I can find, it never makes it to the debugging window in Xcode. It just crashes and says that it cant find app.js with the red screen.", "updateAuthor": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-12T00:20:06.000+0000", "updated": "2015-11-12T00:20:06.000+0000" }, { "id": "370525", "author": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here is a complete app.js file for one that gives me 'no app.js found' when deploying using xcode 7 and any of the 5.x sdks. As you can see, there is nothing special in this code.\r\n\r\n~~~\r\nTitanium.UI.setBackgroundColor(\"#000\"), Titanium.UI.setBackgroundImage(\"Default.png\");\r\nvar isAndroid = !1,\r\nisIphone = !0;\r\n\r\nvar tabGroup = Titanium.UI.createTabGroup({\r\n\ttabsBackgroundColor : \"#000\",\r\n\ttabsTintColor : \"#fff\"\r\n}),\r\n homeWin = Titanium.UI.createWindow({\r\n\ttitle : \"EMPATHETICS\",\r\n\tbackgroundColor : \"#2a98c1\",\r\n\turl : \"home.js\",\r\n\tbarColor : \"#000\",\r\n\tnavTintColor : \"#fff\",\r\n\tbackButtonTitle : \"\",\r\n\tlayout : \"vertical\",\r\n\torientationModes : [Ti.UI.PORTRAIT, Ti.UI.UPSIDE_PORTRAIT]\r\n}),\r\n tab1 = Titanium.UI.createTab({\r\n\ttitle : \"EMPATHETICS\",\r\n\twindow : homeWin\r\n}),\r\n newsWin = Titanium.UI.createWindow({\r\n\ttitle : \"News\",\r\n\tbackgroundColor : \"#2a98c1\",\r\n\turl : \"news.js\",\r\n\tbarColor : \"#000\",\r\n\tnavTintColor : \"#2a98c1\",\r\n\tbackButtonTitle : \"\",\r\n\tlayout : \"vertical\",\r\n\torientationModes : [Ti.UI.PORTRAIT, Ti.UI.UPSIDE_PORTRAIT]\r\n}),\r\n tab2 = Titanium.UI.createTab({\r\n\ttitle : \"News\",\r\n\twindow : newsWin\r\n}),\r\n aboutWin = Titanium.UI.createWindow({\r\n\ttitle : \"About\",\r\n\tbackgroundColor : \"#2a98c1\",\r\n\turl : \"about.js\",\r\n\tbarColor : \"#000\",\r\n\tnavTintColor : \"#fff\",\r\n\tbackButtonTitle : \"\",\r\n\tlayout : \"vertical\",\r\n\torientationModes : [Ti.UI.PORTRAIT, Ti.UI.UPSIDE_PORTRAIT]\r\n}),\r\n tab3 = Titanium.UI.createTab({\r\n\ttitle : \"About\",\r\n\twindow : aboutWin\r\n}),\r\n contactWin = Titanium.UI.createWindow({\r\n\ttitle : \"contact\",\r\n\tbackgroundColor : \"#fff\",\r\n\turl : \"contact.js\",\r\n\tbarColor : \"#000\",\r\n\tnavTintColor : \"#fff\",\r\n\tbackButtonTitle : \"\",\r\n\tlayout : \"vertical\",\r\n\torientationModes : [Ti.UI.PORTRAIT, Ti.UI.UPSIDE_PORTRAIT]\r\n}),\r\n tab4 = Titanium.UI.createTab({\r\n\ttitle : \"Contact\",\r\n\twindow : contactWin\r\n});\r\ntabGroup.addTab(tab1);\r\n tabGroup.addTab(tab2);tabGroup.addTab(tab3);\r\ntabGroup.addTab(tab4);\r\n setTimeout(function() {\r\n\ttabGroup.open()\r\n}, 3000); \r\n~~~", "updateAuthor": { "name": "joshlewis", "key": "joshlewis", "displayName": "Josh Lewis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-17T15:00:23.000+0000", "updated": "2015-11-17T15:00:23.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }