Forum Discussion

Robert S.138's avatar
Robert S.138
Helpful | Level 7
9 years ago

Why Does Obj-C Library Code Recompile when building for release?

I noticed that when I make a change to my code and build for debug, only my code gets recompiled.  But when I build for Distribution, either for the App Store or for Ad Hoc distribution, the entire 800+ files in the Offical Objective C Dropbox Library gets recompiled.  It is not too much of a bother since I don't build for distribution that often, but it does take almost a minute on my Mac Mini, whereas by app alone takes only a few seconds.  I am using CoCo Pods to handle the Obj-C library, according to the Dropbox installation instructions.

 

2 Replies

  • Robert S.138's avatar
    Robert S.138
    Helpful | Level 7
    9 years ago

    That problem is close, but has one major difference.  In their case the full recompile happens with every kind of build.  In my case the recompile only happens when I build for release (using Archive).  When I build for debug, the Dropbox library does not recompile.  As I said it is a small issue since I am almost always building for debug,  and there is no issue there.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!