{ "id": "152200", "key": "TIMOB-19749", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2015-11-12T01:40:41.000+0000", "created": "2015-10-20T18:05:06.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.1.0" ], "versions": [ { "id": "16904", "description": "Release 5.0.2", "name": "Release 5.0.2", "archived": true, "released": true, "releaseDate": "2015-10-01" } ], "issuelinks": [ { "id": "49608", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "152224", "key": "TIMOB-19781", "fields": { "summary": "Build for ios device with SDK 5.0.2 results in 'app.js not found'", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-13T00:17:16.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": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "When building a *Classic* project to an iOS 8.4 device with LiveView enabled, the app successfully installs to the device, however upon launch, the following error is thrown:\r\n\r\n{code:java}\r\n[DEBUG] : assertion failed: 12H143: libxpc.dylib + 71768 [C9F3C08A-8A3B-3849-A905-D24911240853]: 0x7d\r\n[DEBUG] : Reading stylesheet from: /private/var/mobile/Containers/Bundle/Application/D9B30F00-894D-4D6D-89DF-79F246FC2390/testestest.app/stylesheet.plist\r\n[DEBUG] : You've implemented -[ application:performFetchWithCompletionHandler:], but you still need to add \"fetch\" to the list of your supported UIBackgroundModes in your Info.plist.\r\n[DEBUG] : You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add \"remote-notification\" to the list of your supported UIBackgroundModes in your Info.plist.\r\n[INFO] : testestest/1.0 (0.0.0.92c2265)\r\n[DEBUG] : Loading: /private/var/mobile/Containers/Bundle/Application/D9B30F00-894D-4D6D-89DF-79F246FC2390/testestest.app/app.js, Resource: app_js\r\n[ERROR] : Error loading path: file:///private/var/mobile/Containers/Bundle/Application/D9B30F00-894D-4D6D-89DF-79F246FC2390/testestest.app/app.js, Error Domain=NSCocoaErrorDomain Code=260 \"The operation couldn’t be completed. (Cocoa error 260.)\" UserInfo=0x174267d40 {NSFilePath=/private/var/mobile/Containers/Bundle/Application/D9B30F00-894D-4D6D-89DF-79F246FC2390/testestest.app/app.js, NSUnderlyingError=0x1740573a0 \"The operation couldn’t be completed. No such file or directory\"}\r\n[ERROR] : Script Error Could not find the file app.js\r\n[DEBUG] : Application booted in 89.538991 ms\r\n[TRACE] : Uploaded tiapp metadata with Appcelerator Platform!\r\n{code}\r\n\r\nThe error does not occur when building an alloy project to an 8.4 device.\r\nThe error does not occur when building to a 9.0 device, or an 8.4 simulator. \r\nThe error does not occur when building the same *Classic* project to the same device, with LiveView disabled.\r\n\r\n*Update:* In some cases, the app will fail on first build, but it has been reported that in other cases the app will launch successfully on first build, but will fail on an incremental build.\r\n\r\n\r\n*Steps to reproduce:*\r\n1.Create a *Classic* project.\r\n2. Run to an 8.4 device.\r\n3. Launch app.\r\n\r\n*Actual Result:*\r\napp fails to launch successfully either upon first build, or incremental builds.\r\n\r\n*Expected Result:*\r\napp should launch successfully, and changes made should correctly update the app with LiveView enabled.", "attachment": [], "flagged": false, "summary": "LiveView enabled fails to build to iOS 8.4 device: \"Could not find the file app.js\"", "creator": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "environment": "OSX El Capitan 10.11\r\nStudio: 4.4.0.201510161811\r\nTi SDK: 5.0.2.GA\r\nAppc NPM: 4.2.1-5\r\nAppc CLI: 5.0.4-2\r\nNode: v0.12.7\r\niOS 8.4 & 9.0", "comment": { "comments": [ { "id": "367603", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~htbryant] I can not reproduce the error using the latest version of Titanium SDK 5.1.x and Studio 4.4.0", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-23T01:02:02.000+0000", "updated": "2015-10-23T01:02:02.000+0000" }, { "id": "367836", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, using the following configurations, the issue is no longer reproducible and initial & incremental builds are now successful with LiveView enabled:\r\n\r\nMac OSX El Capitan 10.11 (15A284)\r\nStudio: 4.4.0.201510231805\r\nTi SDK: 5.1.0.v20151023172822 \r\nAppc NPM: 4.2.1-6\r\nAppc CLI: 5.1.0-38\r\nTi CLI: 5.0.4\r\nXcode 7.1(7B91b)\r\nNode v4.2.1\r\nproduction\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2015-10-26T17:28:35.000+0000", "updated": "2015-10-26T17:28:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }