{ "id": "61327", "key": "TIMOB-695", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-07-24T13:53:34.000+0000", "created": "2011-04-15T02:34:39.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core", "tooling" ], "versions": [], "issuelinks": [ { "id": "19313", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-26T21:03:05.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" } ], "description": "{html}
around line 600 the builder.py says
\n\n# in this case, we have to do different things based on if it's\n# an ad-hoc distribution cert or not - in the case of non-adhoc\n# we don't use the entitlements file but in ad hoc we need to\nadhoc_line = \"CODE_SIGN_ENTITLEMENTS=\"\ndeploytype = \"production_adhoc\"\nif not is_adhoc(appuuid):\n adhoc_line=\"CODE_SIGN_ENTITLEMENTS = Resources/Entitlements.plist\"
\n
\nthe comment is correct but in the code the two adhoc_line\nassignments are the other way around.
SaturnPolly
\nThis ticket does not explain how to reproduce the issue, so\nrisks being marked invalid.
\nA number of users have asked you to clarify your solution in\nyour original \nQ&A post, and also there is a new user with the\nproblem.
\nWould you minding helping them, to determine whether this bug\nstill exists, please?
\nThanks
I had this issue, but I can't remember whether it was the build\nthat failed or the installation of the ad-hoc compiled app. I think\nit gave a \"missing entitlements\" error.
\nTo fix, I changed builder.py to:
\n\n # in this case, we have to do different things based on if it's\n # an ad-hoc distribution cert or not - in the case of non-adhoc\n # we don't use the entitlements file but in ad hoc we need to\n adhoc_line = \"CODE_SIGN_ENTITLEMENTS=Resources/Entitlements.plist\"\n deploytype = \"production_adhoc\"\n if not is_adhoc(appuuid):\n adhoc_line=\"CODE_SIGN_ENTITLEMENTS=\"\n deploytype = \"production\"
\n
\ni.e. change the value of \"adhoc_line\" so that it matches the\ncomment.
\nThis code is present in builder.py for SDKs 1.2, 1.3, 1.3.2 but\nthe build process has changed in 1.4 so it may no longer require\nfixing.
Another Q&A post that includes a solution similar to the\nabove is \nthis one. The bug was found in 1.5.1.
In order to understand this issue, a build.log file needs to be\nprovided. Does anyone have one they can add?