Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10865] iOS: builder.py adhoc build is broken

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-10-09T02:52:00.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 2.1.4, Release 3.0.0, Sprint 2012-20 Core, 2012 Sprint 20
ComponentsiOS
Labelscommunity, core, qe-port, regression
ReporterMartin Guillon
AssigneeMax Stepanov
Created2012-09-11T09:22:56.000+0000
Updated2012-11-01T16:54:52.000+0000

Description

Issue

If i build my project: builder.py adhoc ... then the resources of my project are not copied in the app folder It works with 2.1.2.GA

Steps to Reproduce

1. Create a templated tabbed application in Studio. 2. Publish using adhoc license. 3. Look in the app generated. The package contents do not have KS_nav_ui and KS_nav_views.png files

Comments

  1. Varun Joshi 2012-09-11

    Hi Martin, Could you please provided more info i.e. a minimum fail case (a project that shows this) and the exact commands you used. Thanks, Varun
  2. Martin Guillon 2012-09-12

    It happens with the template examples in TStudio (on what is now 3.0.0). Create a tab based example for iphone. Publish it for adhoc distribution Look at the payload: Ks_nav_ui.png and KS_nav_views.png wont be there
  3. Martin Guillon 2012-09-18

    Any news on this one? This is a critical bug as i cant make a release anymore THanks
  4. Neeraj Gupta 2012-09-19

    @Martin - This issue is scheduled to be fixed for the next release (3.0.0).
  5. Martin Guillon 2012-09-19

    @Neeraj: thanks for letting me know. I am working on the master branch as i do a lot of modification on Ti sources. So for me no more release until it s fixed (not even released) :s That s kind of bad but that s my fault. Thanks
  6. Martin Guillon 2012-09-26

    i found the reason for that bug. it s due to that commit https://github.com/appcelerator/titanium_mobile/commit/b96d1f810381eba1f567437a069a0b9b92010bc5 I added a line comment. i hope mstepanov can look at this adhoc and distribution is broken in the way that any external ressource not in iphone is not copied to the package
  7. Ben S. 2012-10-06

    Is there any workaround available? I'm also having this problem with current 3.0 SDK from continuous builds...
  8. Martin Guillon 2012-10-06

    Yes there is. see my line comment https://github.com/appcelerator/titanium_mobile/commit/b96d1f810381eba1f567437a069a0b9b92010bc5#L0R648
  9. Ben S. 2012-10-06

    I use the current continuous build for 3.0 SDK (with your commit already included) and still have the same problem. When run in simulator or by "run on device", everything's fine. When I build for enterprise build, the images are missing in the app. So the problem is probably also caused by another part of the build script / process. iOS SDK 6.0 with current Xcode version, iOS 6.0 on iPad 2.
  10. Martin Guillon 2012-10-06

    My commit is not included! This is not my commit, this is just a line comment! I just commited an ugly fix in my own branch. It works, i already published apps with it! https://github.com/Akylas/titanium_mobile/commit/25b4fcba98a4f254433b78140972ed69b2e3d0f6
  11. Ben S. 2012-10-06

    Thx a lot! I changed the code part from your commit and now it works.
  12. Max Stepanov 2012-10-08

    PR submitted https://github.com/appcelerator/titanium_mobile/pull/3130
  13. Max Stepanov 2012-10-25

    2_1_X backport for ignoring iphone folder https://github.com/appcelerator/titanium_mobile/pull/3326
  14. Sabil Rahim 2012-10-26

    @max we might want to forward this fix to 3_0_X and master
  15. Ingo Muschenetz 2012-10-31

    Fixed missing Release 2.1.4 tag.
  16. Natalie Huynh 2012-11-01

    Tested with 2.1.4.v20121030173408

JSON Source