title: Ionic 3 - xcode error with cocoapods
body: <p>I try to build an ionic 3 app with push notification and I have some problem with iOS deployment. </p>
  
  <p>I have this 3 error in xcode : </p>
  
  <pre><code>diff: /Podfile.lock: No such file or directory
  diff: /Manifest.lock: No such file or directory
  error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
  </code></pre>
  
  <p>I have try a lot of solution I found on internet : </p>
  
  <ul>
  <li><p>use command "pod install", "pod update"</p></li>
  <li><p>delete and install CocoaPods</p></li>
  <li><p>update CocoaPods</p></li>
  <li><p>Delete "Pods" folder, "Podfile.lock" and "Podfile" and run "pod install" command.</p></li>
  <li><p>Remove libPods-myApp.a from Link Binary From Librairies.</p></li>
  </ul>
  
  <p>But nothing is effective...</p>
  
  <p>I really don't know what I have to do.</p>
  
  <p>My Podfile : </p>
  
  <pre><code># DO NOT MODIFY -- auto-generated by Apache Cordova
  platform :ios, '8.0'
  target 'MyProject' do
      project 'MyProject.xcodeproj'
      pod 'GoogleCloudMessaging', '~&gt; 1.2.0'
      pod 'GGLInstanceID', '~&gt; 1.2.1'
  end
  </code></pre>
  
  <p>My Podfile.lock : </p>
  
  <pre><code>PODS:
    - GGLInstanceID (1.2.1)
    - GoogleCloudMessaging (1.2.0):
      - GoogleInterchangeUtilities (~&gt; 1.0)
      - GoogleIPhoneUtilities (~&gt; 1.0)
      - GoogleSymbolUtilities (~&gt; 1.0)
    - GoogleInterchangeUtilities (1.2.2):
      - GoogleSymbolUtilities (~&gt; 1.1)
    - GoogleIPhoneUtilities (1.2.1):
      - GoogleSymbolUtilities (~&gt; 1.0)
      - GoogleUtilities (~&gt; 1.0)
    - GoogleSymbolUtilities (1.1.2)
    - GoogleUtilities (1.3.2):
      - GoogleSymbolUtilities (~&gt; 1.1)
  
  DEPENDENCIES:
    - GGLInstanceID (~&gt; 1.2.1)
    - GoogleCloudMessaging (~&gt; 1.2.0)
  
  SPEC CHECKSUMS:
    GGLInstanceID: 4a317044f744281b82cd03015f379899f277cad3
    GoogleCloudMessaging: f37ea14dd0f41d4d889c10b5559dd35bbfd9ac26
    GoogleInterchangeUtilities: d5bc4d88d5b661ab72f9d70c58d02ca8c27ad1f7
    GoogleIPhoneUtilities: 63f25e93a3ddcb66884d182aab3a660d98f1479b
    GoogleSymbolUtilities: 631ee17048aa5e9ab133470d768ea997a5ef9b96
    GoogleUtilities: 8bbc733218aad26306f9d4a253823986110e3358
  
  PODFILE CHECKSUM: 0ff66d442dc6f28bf0fbc7a6b12af811ecc9a43c
  
  COCOAPODS: 1.2.1
  </code></pre>
  
  <p><strong>UPDATE</strong> </p>
  
  <p>My [CP] Check Pods Manifest.lock :</p>
  
  <pre><code>diff "${PODS_PODFILE_DIR_PATH}/Podfile.lock" "${PODS_ROOT}/Manifest.lock" &gt; /dev/null
  if [ $? != 0 ] ; then
      # print error to STDERR
      echo "error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation." &gt;&amp;2
      exit 1
  fi
  </code></pre>
  
  <p>I really need help please. :(</p>
  
  <p><strong>UPDATE</strong> </p>
  
  <p>I have modify my [CP] Check Pods Manifest.lock to this :</p>
  
  <pre><code>diff "${SRCROOT}/Podfile.lock" "${SRCROOT}/Pods/Manifest.lock" &gt; /dev/null
  if [ $? != 0 ] ; then
      # print error to STDERR
      echo "error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation." &gt;&amp;2
      exit 1
  fi
  </code></pre>
  
  <p>My tree errors are disapear but I have this new error : </p>
  
  <pre><code> Module 'FirebaseInstanceID' not found
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/lUcOC.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lUcOC.png" alt="enter image description here"></a></p>
  
  <p>I don't know why. I tried to run <code>pod install</code> but no difference. </p>