{ "id": "104339", "key": "TIMOB-11658", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14621", "description": "2012 Sprint 23 API", "name": "2012 Sprint 23 API", "archived": true, "released": true, "releaseDate": "2012-11-19" }, { "id": "14623", "description": "2012 Sprint 23 JS", "name": "2012 Sprint 23", "archived": true, "released": true, "releaseDate": "2012-11-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-12-05T21:18:23.000+0000", "created": "2012-11-02T20:26:43.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "qe-ios100112" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-12-05T21:18:23.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": "10207", "name": "Tooling" } ], "description": "iOS builds fail with:\r\n\r\n{code}\r\n[INFO] Minimum iOS version: 4.3 Linked iOS Version 6.0\r\n[INFO] Performing clean build\r\n[ERROR] /Users/dhyde/Desktop/TISTUD-RC/workspace/MyProject/build/iphone/Classes/GDataXMLNode.h:39:9: fatal error: 'libxml/tree.h' file not found\r\n[ERROR] /Users/dhyde/Desktop/TISTUD-RC/workspace/MyProject/build/iphone/Classes/GDataXMLNode.h:39:9: fatal error: 'libxml/tree.h' file not found\r\n[ERROR] \r\n[ERROR] Error: Traceback (most recent call last):\r\n File \"/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA/iphone/builder.py\", line 1325, in main\r\n execute_xcode(\"iphonesimulator%s\" % link_version,[\"GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s\" % (log_id,sdk_version,debugstr,kroll_coverage)],False)\r\n File \"/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA/iphone/builder.py\", line 1231, in execute_xcode\r\n output = run.run(args,False,False,o)\r\n File \"/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA/iphone/run.py\", line 41, in run\r\n sys.exit(rc)\r\nSystemExit: 65\r\n{code}\r\n\r\nCould be Xcode-related.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create new Titanium Project.\r\n2. Run in iOS Simulator.\r\n\r\nActual Result:\r\n\r\nfail\r\n\r\nExpected Result:\r\n\r\nsuccess, app runs in simulator or builds correctly", "attachment": [ { "id": "33161", "filename": "build.log", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-02T20:30:13.000+0000", "size": 1432897, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: builds fail with fatal error: 'libxml/tree.h' file not found due to space in xcode path", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.2, 3.0.0.201210291448\r\nTitanium SDK: 2.1.3.GA, 3.0.0.v20121030170824\r\nOS: Mountain Lion 10.8.2\r\nTitanium CLI: disabled/enabled\r\nXcode: Version 4.5.2 (4G2008a), 4.4\r\nDevices: Build to device, simulator 5.1/6.0", "comment": { "comments": [ { "id": "226028", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is an Xcode path issue.\r\n\r\nPrinting the path showed studio was installed on the desktop with a space.\r\n\r\n{code}\r\nDHydeMBP:~ dhyde$ xcode-select -print-path\r\n/Users/dhyde/Desktop/ios/Xcode/Xcode 4.4/Xcode.app/Contents/Developer\r\n{code}\r\n\r\nI changed the path to applications and it worked. The work-around is to take away the space in the xcode path.\r\n\r\n{code}\r\nDHydeMBP:~ dhyde$ sudo xcode-select -switch /Applications/Xcode.app \r\nDHydeMBP:~ dhyde$ xcode-select -print-path\r\n/Applications/Xcode.app/Contents/Developer\r\n{code}\r\n\r\nWe might want to improve the error message or add support to paths with spaces.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-02T20:55:44.000+0000", "updated": "2012-11-02T21:00:51.000+0000" }, { "id": "226374", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Placing in API as core is booked this sprint.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-06T22:02:46.000+0000", "updated": "2012-11-06T22:02:46.000+0000" }, { "id": "226706", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/3385 PR pending .", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-08T17:12:25.000+0000", "updated": "2012-11-08T17:12:25.000+0000" }, { "id": "228278", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport https://github.com/appcelerator/titanium_mobile/pull/3459", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-11-21T20:13:51.000+0000", "updated": "2012-11-21T20:13:51.000+0000" }, { "id": "230078", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed.\r\nTested and Verified fix with:\r\nTitanium Studio, build: 3.0.0.201211301903\r\nTitanium SDK, build: 3.1.0.v20121204181803\r\nTitanium SDK, build 3.0.0.v20121204181658\r\niOS simulator 6.0", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-05T18:24:56.000+0000", "updated": "2012-12-05T21:18:13.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }