Why is the titanium assembly process so slow?

I have a 2013 Retina MacBook Pro and am amazed at the build speed of Xcode. I can create and run a fairly large Objective-C application in the simulator in 2-3 seconds.

It takes about 15 seconds to create and run the smaller Titanium app for iPhone, and I wonder why. In the console, the build process is very fast, but the application freezes for about 10 seconds in the "Call xcodebuild" section

$ titanium build -p ios
Titanium Command-Line Interface, CLI version 3.0.24, Titanium SDK version 3.0.2.v20130206164716
Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.

Please report bugs to http://jira.appcelerator.org/

[INFO]  Build type: development
[INFO]  Building for target: simulator
[INFO]  Building using iOS SDK: 6.1
[INFO]  Building for iOS iPhone Simulator: 6.1
[INFO]  Building for device family: iphone
[INFO]  Minimum iOS version: 4.3
[INFO]  Debugging disabled
[INFO]  Initiating prepare phase
[INFO]  Copying custom Info.plist from project directory
[INFO]  Forcing rebuild: custom Info.plist CFBundleIdentifier not equal to tiapp.xml <id>
[INFO]  No Titanium Modules required, continuing
[INFO]  Cleaning old build directory
[INFO]  Performing full rebuild
[INFO]  Copying Xcode iOS files
[INFO]  Creating Xcode project directory: .../build/iphone/MyProject.xcodeproj
[INFO]  Writing Xcode project data file: Titanium.xcodeproj/project.pbxproj
[INFO]  Writing Xcode project configuration: project.xcconfig
[INFO]  Writing Xcode module configuration: module.xcconfig
[INFO]  Creating symlinks for simulator build
[INFO]  Forcing rebuild: ApplicationDefaults.m has changed since last build
[INFO]  Writing properties to ApplicationDefaults.m
[INFO]  No module resources to copy
[INFO]  No CommonJS modules to copy
[INFO]  Invoking xcodebuild

Is there anything I can do to make it faster?

+5
source share
2 answers

I received a hint that led to a solution to a problem on my QA QAppcelerator

​​:

Forcing rebuild: custom Info.plist CFBundleIdentifier not equal to tiapp.xml <id>

Info.plist , XCode. tiapp.xml <id>, CFBundleIdentifier, 4 .

+4

objective-c , 2-3 ,

titanium javascript objective-c, objective-c , ... , . . . . , .. .,

+2

All Articles