{ "id": "120110", "key": "TIMOB-15245", "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": [ { "id": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15705", "description": "2013 Sprint 22 Core", "name": "2013 Sprint 22 Core", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-11-01T23:38:15.000+0000", "created": "2013-09-17T21:34:33.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_cli", "qe-3.1.3", "qe-closed-3.2.0", "qe-manualtest" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-08-07T18:54:34.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": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5. Description:\r\nWhen an app is launched in the iOS simulator and killed via the simulator, the following output appears in the console:\r\n{code}\r\n[ERROR] An error occurred running the iOS Simulator\r\n[ERROR] [DEBUG] using retina iphone retina tall ios 7\r\n[ERROR] \r\n[ERROR] Project failed to build after 55s 673ms\r\n{code}\r\n\r\nA slightly longer section of the output shows \"** BUILD SUCCEEDED **\" prior to the failure, this could cause confusion:\r\n{code}\r\n[TRACE] ** BUILD SUCCEEDED **\r\n[INFO] Finished building the application in 30s 54ms\r\n[INFO] Running application in iOS Simulator\r\n[DEBUG] Terminating all iOS simulators\r\n[INFO] Launching application in iOS Simulator\r\n[TRACE] Simulator environment: DYLD_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks:/Applications/Xcode.app/Contents/OtherFrameworks\r\n[DEBUG] Simulator command: \"/Users/emerriman/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.v20130916153052/iphone/ios-sim\" launch \"/Users/emerriman/Documents/workspace/augustWorkspace/tc2966/build/iphone/build/Debug-iphonesimulator/tc2966.app\" --sdk 7.0 --family iphone --retina --tall\r\n[INFO] Focusing the iOS Simulator\r\n[DEBUG] Found iPhone Simulator log file: /Users/emerriman/Library/Application Support/iPhone Simulator/7.0/Applications/AB2E9390-B708-4629-9B7F-E74C22AD93C9/Documents/e3ae0a76-f4d6-4e24-8b6f-76e230aea7e5.log\r\n-- Start simulator log -------------------------------------------------------\r\n[INFO] Application started\r\n[DEBUG] Reading stylesheet from: /Users/emerriman/Library/Application Support/iPhone Simulator/7.0/Applications/AB2E9390-B708-4629-9B7F-E74C22AD93C9/tc2966.app/stylesheet.plist\r\n[INFO] tc2966/1.0 (3.1.3.v20130916153052.c35b513)\r\n[DEBUG] Analytics is enabled = YES\r\n[DEBUG] Loading: /Users/emerriman/Library/Application Support/iPhone Simulator/7.0/Applications/AB2E9390-B708-4629-9B7F-E74C22AD93C9/tc2966.app/app.js, Resource: app_js\r\n[DEBUG] Application booted in 222.056031 ms\r\n-- End simulator log ---------------------------------------------------------\r\n[ERROR] An error occurred running the iOS Simulator\r\n[ERROR] [DEBUG] using retina iphone retina tall ios 7\r\n[ERROR] \r\n[ERROR] Project failed to build after 55s 673ms\r\n{code}\r\n\r\nThis occurs from Studio or the CLI.\r\n\r\nh5. Steps to reproduce:\r\n1) Create a project\r\n2) Launch in CLI or studio on iOS simulator\r\n3) When app running in simulator, simulate home button press (via CMD-SHIFT-H)\r\n4) Simulate Double press on home button (via double CMD-SHIFT-H)\r\n5) For iOS 7, find your running app and swipe upwards to kill\r\n6) Check console\r\n\r\nh5. Result:\r\nError as listed above\r\n\r\nh5. Expected Result:\r\nNo errors presented", "attachment": [], "flagged": false, "summary": "CLI: Killing running app launched in iOS simulator presents unexpected console output including \"project failed to build\"", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS 10.8.4\r\nXcode 5 GM seed\r\nCLI: 3.1.2\r\nAlloy: 1.2.2-beta\r\nAppcelerator Studio, build: 3.1.3.201309072408\r\nTitanium SDK version 3.1.3.v20130916153052", "comment": { "comments": [ { "id": "277635", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request https://github.com/appcelerator/titanium_mobile/pull/4898", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-01T06:40:06.000+0000", "updated": "2013-11-01T06:40:06.000+0000" }, { "id": "277789", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "close the app from the sim, by doubling tapping the home and removing it from background results in a proper end of log statement \r\n\r\n{code} \r\n-- End simulator log ---------------------------------------------------------\r\n[INFO] Application has exited from iOS Simulator\r\n[INFO] Project built successfully in 1m 49s 979ms\r\n{code}", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-01T23:38:15.000+0000", "updated": "2013-11-01T23:38:15.000+0000" }, { "id": "278321", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed. Tested and verified\n{code}\n-- End simulator log ---------------------------------------------------------\n[INFO] : Application has exited from iOS Simulator\n[INFO] : Project built successfully in 35s 295ms\n{code}\n\nwith:\nTitanium Studio, build: 3.2.0.201311050151\nCLI 3.2.0\nAlloy 1.3.0\nTitanium SDK, build: 3.2.0.v20131105094044", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-06T00:36:44.000+0000", "updated": "2013-11-06T00:36:44.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }