{ "id": "79747", "key": "TIMOB-5141", "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": "10000", "description": "", "name": "Done" }, "resolutiondate": "2020-01-09T19:22:20.000+0000", "created": "2011-08-29T06:53:29.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "build.py", "compile.py", "ios", "modules" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11367", "description": "", "name": "Release 1.7.1", "archived": true, "released": true, "releaseDate": "2011-06-21" }, { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-01-09T19:22:20.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": "10207", "name": "Tooling" } ], "description": "When building a JS based iOS module, running ./build.py will generate an error of:\r\n\r\n{code}\r\nTraceback (most recent call last):\r\n File \"./build.py\", line 191, in \r\n compile_js(manifest,config)\r\n File \"./build.py\", line 69, in compile_js\r\n from compiler import Compiler\r\nImportError: cannot import name Compiler\r\n{code}\r\n\r\nThis happens when the titanium.xcconfig file has the TITANIUM_SDK set with the SDK in the users resource directory.\r\nfor example:\r\n\r\n{code}\r\nTITANIUM_SDK = ~/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION)\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "JS iOS modules dont build when SDK is off of users Library", "creator": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested as far back as 1.7.0, OSX Lion 10.7.1, Python 2.7", "comment": { "comments": [ { "id": "346386", "author": { "name": "stoda", "key": "stoda", "displayName": "Seth Toda", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was able to move past this by creating a simlink\r\n{code}\r\nmkdir -p /Library/Application\\ Support/Titanium/mobilesdk/osx\r\nsudo ln -s ~/Library/Application\\ Support/Titanium/mobilesdk/osx/3.4.0.GA /Library/Application\\ Support/Titanium/mobilesdk/osx/3.4.0.GA\r\n{code}", "updateAuthor": { "name": "stoda", "key": "stoda", "displayName": "Seth Toda", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-18T17:42:13.000+0000", "updated": "2015-03-18T17:42:13.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }