title: Using Phonegap Barcode Scanner on Iphone
body: <p>I'm trying to add a <a href="https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/BarcodeScanner" rel="noreferrer">barcode scanner</a> to a JQM phonegap project for iOS.  I have followed the instructions listed, although I'm not 100% sure if I did the first and last steps correctly.</p>
  
  <blockquote>
    <p>Copy the .h, .cpp and .mm files to the Plugins directory in your
    project. You may need to set the compile options for
    zxing-all-in-one.cc to turn off optimization.</p>
  </blockquote>
  
  <p>I directly copied the three files into the plugins folder in xcode.  It isn't giving me any errors, but it also isn't working.  I have no idea how to do compiler options in xcode, so I haven't done the last step.</p>
  
  <p>Currently my app still runs with no errors and running the scan function opens the camera with the ui for the barcode scanner up.  The problem is that it doesn't seem to be either looking for or finding barcodes, it just stays up and does nothing (until you hit cancel, then it displays the cancelled message correctly).</p>
  
  <p>Anyone have any ideas what's wrong or where I should look?</p>