[TIMOB-695] iPhone buildscript adhoc distribution
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-07-24T13:53:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | core, tooling |
Reporter | SaturnPolly |
Assignee | Neeraj Gupta |
Created | 2011-04-15T02:34:39.000+0000 |
Updated | 2012-07-26T21:03:05.000+0000 |
Description
around line 600 the builder.py says
# in this case, we have to do different things based on if it's
an ad-hoc distribution cert or not - in the case of non-adhoc
we don't use the entitlements file but in ad hoc we need to
adhoc_line = "CODE_SIGN_ENTITLEMENTS="
deploytype = "production_adhoc"
if not is_adhoc(appuuid):
adhoc_line="CODE_SIGN_ENTITLEMENTS = Resources/Entitlements.plist"
the comment is correct but in the code the two adhoc_line assignments are the other way around.
SaturnPolly
This ticket does not explain how to reproduce the issue, so risks being marked invalid.
A number of users have asked you to clarify your solution in your original http://developer.appcelerator.com/question/32391/ad-hoc-finally-working-"> Q&A post, and also there is a new user with the problem.
Would you minding helping them, to determine whether this bug still exists, please?
Thanks
I had this issue, but I can't remember whether it was the build that failed or the installation of the ad-hoc compiled app. I think it gave a "missing entitlements" error.
To fix, I changed builder.py to:
i.e. change the value of "adhoc_line" so that it matches the comment.
This code is present in builder.py for SDKs 1.2, 1.3, 1.3.2 but the build process has changed in 1.4 so it may no longer require fixing.
Another Q&A post that includes a solution similar to the above is http://developer.appcelerator.com/question/89391/problem-installing-to-device-itunes#195331"> this one. The bug was found in 1.5.1.
In order to understand this issue, a build.log file needs to be provided. Does anyone have one they can add?
Bug Scrub: Invalid. Test case exists
Invalidated in bug scrub 28/Jul/11 as per comment. Currently we offer adhoc as well.