Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9471] iOS: Build: Taking a long time to complete building KS, sits on Compiling localization files for approximately 3-5 minute

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-06-19T13:13:51.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sRelease 2.1.0, Sprint 2012-12 Core
ComponentsCore
Labelsapi, qe-ios060112, regression
ReporterNatalie Huynh
AssigneeMax Stepanov
Created2012-06-08T13:37:11.000+0000
Updated2013-01-21T19:09:18.000+0000

Description

This is a regression, does not occur with 2.0.2.GA Steps to Reproduce: 1. Launch Studio 2. Import KS from Master 3. Compile to iOS Device Actual: Sits on Compiling localization files for ~3-5 minutes before completing Expected: Should complete and not hang on Compiling localization files for over 1 minute

Attachments

FileDateSize
Compiling.png2012-06-19T10:52:19.000+0000103203
Compiling log2012-06-19T10:52:19.000+00006340410

Comments

  1. Max Stepanov 2012-06-14

    I have added some logging for time measurements:
       [DEBUG] (13:50:22) compiling: /Users/max/Documents/Titanium Studio Workspace/Kitchen Sink/Resources/app.js
       ....
       [DEBUG] (13:50:26) compiling: /Users/max/Documents/Titanium Studio Workspace/Kitchen Sink/Resources/main_windows/platform.j
       [DEBUG] (13:50:26) packaging javascript
       [DEBUG] (13:50:48) packaging finished
       
    From these result it's clear that JavaScript packaging has nothing to do with the build long run. And the whole KitchenSink packaging completes in 2-3 minutes.
  2. Max Stepanov 2012-06-14

    Sabil, I cannot reproduce the issue on my machine, but I made some possible optimizations at https://github.com/appcelerator/titanium_mobile/pull/2398
  3. Payminder Singh 2012-06-19

    Titanium Studio, build: 2.1.0.201206172146 Mobile SDK: 2.1.0.v20120618190254 OS: Mac OS X Lion. Reproducible. 1. Process do take long time to run the compiling process, approximately 3 to 5 min. did asked the System password probably only due to my system settings. 2. Pic and log file is attached.
  4. Olga Romero 2013-01-21

    Closing. Compiled in less than 1 min. Tested with: KS 02fe2f1845 Titanium Studio, build: 3.0.1.201212181159 Titanium SDK, build: 3.0.2.v20130118180632 Device: iPhone5 6.1 [TRACE] :   /usr/bin/touch -c /Users/oromero/fromgit/KitchenSink/build/iphone/build/Debug-iphoneos/KitchenSink.app.dSYM [TRACE] :  ** BUILD SUCCEEDED ** [INFO] :  Finished building the application in 47s 541ms [INFO] :  Installing application into iTunes [INFO] :  Launching iTunes [INFO] :  Initiating iTunes sync [INFO] :  Project built successfully in 50s 972ms

JSON Source