phonegap/phonegap-plugins — Issue #361: BarcodeScanner Xcode Archiving Issue
Author: ashleyjwheat
Created: 2012-02-22 02:20:47+00:00
State: open

I have a bit of a strange issue that I just can't figure out and hope you can shed some light on it for me.

When I archive my app in Xcode (Version 4.2) it all works fine, and my .ipa file is created. I then click 'share' to share this from my Xcode organiser window, and I can drag and drop my .ipa file in to iTunes for ad-hoc distribution.

This is where I get a weird bug, the app runs on my phone when installed via iTunes in this way, but when i use the barcode scanner plug in (click my 'scan' button) the camera view is opened, but won't capture a QR code, no freezing or anything, it seems to focus itself, but just wont recognise the code. All other plugins work fine and the app wrks beautifully otherwise.

BUT

If I go the other route for ad-hoc distribution and just copy my .app file from my Xcode project to my desktop, and then drag and drop in to iTunes and install it, the app, and barcode scanner work beautifully.

Is there something in the .ipa compression that's breaking the barcode scanner? I am stumped.