How to do it...

We will proceed with the recipe as follows:

  1. Install cocoapods with the following commands
sudo gem install cocoapodspod setupSetting up CocoaPods master repo$ /usr/local/git/current/bin/git clone https://github.com/CocoaPods/Specs.git master --progressCloning into 'master'...remote: Counting objects: 1602077, done.remote: Compressing objects: 100% (243/243), done.remote: Total 1602077 (delta 125), reused 172 (delta 74), pack-reused 1601747Receiving objects: 100% (1602077/1602077), 432.12 MiB | 1.83 MiB/s, done.Resolving deltas: 100% (849517/849517), done.Checking out files: 100% (188907/188907), done.
  1. Install TensorFlow distribution with CocoaPods:
cd TensorFlow/TensorFlow/examples/ios/benchmarkpod installAnalyzing dependencies ...

Get TensorFlow 1.x Deep Learning Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.