title: Ios-deploy install doesn't work - macOS High Sierra (10.13.5)
body: <p><strong>Command line arguments</strong> than I used for ios-deploy.</p>
  
  <blockquote>
    <p>sudo npm install -g ios-deploy --unsafe-perm --allow-root</p>
  </blockquote>
  
  <h1>Expected behavior</h1>
  
  <p>Install ios-deploy global via NPM</p>
  
  <h1>Actual behavior.</h1>
  
  <p>Ios-deploy not installed and get the error 65:</p>
  
  <p>/bin/sh -c /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Script-C0CD3D981F59D20100F954DB.sh
  cp: /System/Library/PrivateFrameworks/MobileDevice.framework/XPCServices: No such file or directory</p>
  
  <p>** BUILD FAILED **</p>
  
  <p>The following build commands failed:
      PhaseScriptExecution Run\ Script build/ios-deploy.build/Release/ios-deploy.build/Script-C0CD3D981F59D20100F954DB.sh
  (1 failure)
  npm ERR! code ELIFECYCLE
  npm ERR! errno 65
  npm ERR! ios-deploy@1.9.2 preinstall: <code>./src/scripts/check_reqs.js &amp;&amp; xcodebuild</code>
  npm ERR! Exit status 65
  npm ERR! 
  npm ERR! Failed at the ios-deploy@1.9.2 preinstall script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.</p>
  
  <p>npm ERR! A complete log of this run can be found in:
  npm ERR!     /Users/vinicius/.npm/_logs/2018-06-20T10_50_13_426Z-debug.log</p>
  
  <h1>Steps to reproduce the problem</h1>
  
  <p>I run the command: npm install -g ios-deploy</p>
  
  <h1>System Specs</h1>
  
  <ol>
  <li>system_profiler SPSoftwareDataType</li>
  </ol>
  
  <blockquote>
    <p>System Version: macOS 10.13.5 (17F77)</p>
    
    <p>Kernel Version: Darwin 17.6.0</p>
    
    <p>Boot Volume: Macintosh HD</p>
    
    <p>Boot Mode: Normal</p>
    
    <p>Computer Name: Mac mini de Vinicius</p>
    
    <p>User Name: Vinicius Ribeiro (vinicius)</p>
    
    <p>Secure Virtual Memory: Enabled</p>
    
    <p>System Integrity Protection: Enabled</p>
    
    <p>Time since boot: 36 minutes</p>
  </blockquote>
  
  <ol start="2">
  <li>ios-deploy -V</li>
  </ol>
  
  <blockquote>
    <p>-bash: ios-deploy: command not found
    3. xcodebuild -version</p>
    
    <p>Xcode 9.4.1</p>
    
    <p>Build version 9F2000
    4. xcode-select --print-path</p>
    
    <p>/Applications/Xcode.app/Contents/Developer</p>
  </blockquote>
  
  <ol start="5">
  <li>gcc --version</li>
  </ol>
  
  <blockquote>
    <p>Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1</p>
    
    <p>Apple LLVM version 9.1.0 (clang-902.0.39.2)</p>
    
    <p>Target: x86_64-apple-darwin17.6.0</p>
    
    <p>Thread model: posix</p>
    
    <p>InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin</p>
  </blockquote>
  
  <ol start="6">
  <li>lldb --version</li>
  </ol>
  
  <blockquote>
    <p>lldb-902.0.79.7 </p>
    
    <p>Swift-4.1</p>
  </blockquote>