CocoaPods Guides - Pre-compiling dependencies | Latest TMZ Celebrity News & Gossip | Watch TMZ Live

Pre-compiling dependencies

<The Problem

Even though you haven't made any changes to the Pods in your project, Xcode can still re-compile you libraries, even when it should not need to do this. For a few small libraries this can be a small irritant, in a large project this can be time-consuming and annoying.

<The answer

One solution for this is to not give Xcode the chance to re-compile code. CocoaPods Binary will pre-compile your Pods during pod install, and then add the binary assets (e.g. .framework files) into the generated Xcode projects instead of the source code.

CocoaPods Binary works by adding a pre-install phase which:

  • Pulls out pods which you specify to be pre-compiled
  • Compiles those pods
  • Switches the Podspecs which used to refer to source code, to refer to the new compiled frameworks

To specify which Pods you want to convert, edit your Podfile by appending :binary => true to your pod definitions.

  plugin 'cocoapods-binary'
  use_frameworks!

  target "HP" do
-      pod "ExpectoPatronum"
+      pod "ExpectoPatronum", :binary => true
  end

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.