Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9161017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:52:24+00:00 2026-06-17T13:52:24+00:00

Scenario: We have an XCode project for an iOS game which has about 7000+

  • 0

Scenario:
We have an XCode project for an iOS game which has about 7000+ files.

Only 1000+ files are code. Rest of them are images, sounds, level data, XIBs, plists, config files etc.

Its a universal app so, we have separate set of resources for old iPhone, retina iPhone, iPad etc. We also have PNG and PVRTC for few things like BG images etc to make the best use of different hardware.

Problem:

Right now the project takes about

42 seconds to Clean (Cmd – Shift – K)

8.3 minutes for a full rebuild (Cmd – B) (While rebuilding, half of the progress bar fills in 1 min)

aaaand… 5 mins 36 for just running (Cmd – R) ??

After that, I pressed “Stop” and clicked on “Run” again without doing absolutely anything else. and it took 2 mins 40 secs to just “Run again”

I also saw resources getting copied again, some files getting built again as shown by XCode above the progress bar.

Any solutions to reduce time in any of these phases is highly appreciated. Please ?

P.S. The project was started during the XCode 3 days, and we have been automatically updating the xcodeproj file each time a new XCode comes out.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:52:25+00:00Added an answer on June 17, 2026 at 1:52 pm

    It is not possible to solve a problem if the cause for the problem is unknown. “My car does not start any longer, is there a way to make it start again?”; most likely, but only if the reason why it currently refuses start is known. It sounds a bit like you hope that there is a magic switch in Xcode named “Build fast” and by enabling it, everything becomes much faster. If there was such a switch, don’t you think it would be enabled by default? Don’t you think it would actually always be enabled?

    I also wonder why you tagged this question with “compiler” and “compiler-optimization”. According to your own statement, compiling takes only one minute out of 8.3 minutes build time, so how would further reducing compile time make the overall process much faster? Even if compile time was cut down to zero, this would still leave you with 7.3 minutes build time. Don’t optimize at the wrong end.

    It’s like optimizing code. If your code is too slow, all optimizations are pointless if you don’t where in your code most of your time is spent. Optimizing a piece of code to run ten times faster will do nothing for overall performance if only 0.1% of all time is spent in that piece of code. The first step of code optimization is profiling code and finding out how much time is spent at what piece of code.

    So to make your build process faster, the first and most important step is finding out why exactly the build times are slow right now. Without that knowledge, all answers people could give here are just guessing into the blue. Once you know exactly where the problem is, you can come back and ask precisely how to make this one step faster. You start by optimizing the slowest step, then the second slowest, and so on.

    Take a look at the build log in Xcode

    enter image description here

    Make sure to select “All Messages”, otherwise you will only see warnings and errors, or only errors. Now start a clean build, select the new log that pops up to the left and keep monitoring this log. You will exactly see when Xcode is starting an operation and when it approaches to the next operation. That should give you a first impression which of the tasks take rather long to complete. And once you told us which tasks those are, we can start making suggestion how you might possibly be able to make this task somewhat faster.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Scenario: I have an application that has a config table which stores the config
Scenario I have a DevExpress DataGrid which is bound to a DataSet in C#.
Scenario I have a server, that has NO Visual Studio Installed. It literally has
Scenario: I have a string of hexadecimal characters which encode 8-bit signed integers. Each
I have a little issue with Xcode and was wondering if anybody has this
I have encountered an issue with Xcode's implicit dependency checking and static libraries, which
Scenario I have a basic Django app in which users (django's authentication built in
I have a problem when building my Xcode project. I am using Xcode4.3, with
I'm new to Xcode and iOS and have been experimenting today with the Instruments
Scenario: I have a TFS Build (TFS2008) that has several targets override: BuildNumberOverrideTarget, AfterGet,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.