No, it does not matter what I’m trying, I just keep on getting the same error on the barcode scanner plugin.
Here is my config file…
<?xml version='1.0' encoding='utf-8'?>
<widget
xmlns="http://www.w3.org/ns/widgets"
xmlns:gap="http://phonegap.com/ns/1.0"
id="com.app.testapp"
version="5.6.0"
versionCode="560">
<name>.test app</name>
<description></description>
<access origin="*://itunes.apple.com/*" subdomains='true'/>
<allow-intent href="*://itunes.apple.com/*" />
<allow-navigation href="*://itunes.apple.com/*" />
<access origin="*://*.google.com/*" subdomains='true'/>
<allow-intent href="*://*.google.com/*" />
<allow-navigation href="*://*.google.com/*" />
<platform name="ios">
<preference name="phonegap-version" value="cli-9.0.0" />
</platform>
<plugin name="com.phonegap.plugins.barcodescanner"/>
<plugin name="cordova-plugin-inappbrowser" spec="~1.7.0" />
<plugin name="cordova-plugin-camera" spec="4.0.3" />
<plugin name="cordova-plugin-whitelist" spec="1.3.3" />
<plugin name="cordova-plugin-file" spec="6.0.0" />
<plugin name="cordova-plugin-device" />
<plugin name="cordova-plugin-media" />
<plugin name="cordova-plugin-geolocation" />
<plugin name="cordova-plugin-dialogs" />
<feature name="http://api.phonegap.com/1.0/camera" />
<feature name="http://api.phonegap.com/1.0/device" />
<feature name="http://api.phonegap.com/1.0/file"/>
<platform name="ios" />
<preference name="splash-screen-duration" value="200" />
<preference name="target-device" value="universal" />
<preference name="fullscreen" value="false" />
<preference name="webviewbounce" value="false" />
<preference name="prerendered-icon" value="true" />
<preference name="AllowInlineMediaPlayback" value="true" />
<preference name="MediaTypesRequiringUserActionForPlayback" value="false" />
<allow-navigation href="*youtube*" />
<allow-navigation href="*ytimg*" />
<allow-navigation href="*youtube-nocookie*" />
<platform name="ios">
<icon src="www/res/icon/ios/icon-1024.png" width="1024" height="1024"/>
<icon src="www/res/icon/ios/icon-small.png" width="29" height="29"/>
<icon src="www/res/icon/ios/icon-small@2x.png" width="58" height="58"/>
<icon src="www/res/icon/ios/icon-small@3x.png" width="87" height="87"/>
<icon src="www/res/icon/ios/icon-small-40.png" width="40" height="40"/>
<icon src="www/res/icon/ios/icon-small-40@2x.png" width="80" height="80"/>
<icon src="www/res/icon/ios/icon-small-40@3x.png" width="120" height="120"/>
<icon src="www/res/icon/ios/icon-small-50.png" width="50" height="50"/>
<icon src="www/res/icon/ios/icon-small-50@2x.png" width="100" height="100"/>
<icon src="www/res/icon/ios/icon.png" width="57" height="57"/>
<icon src="www/res/icon/ios/icon@2x.png" width="114" height="114"/>
<icon src="www/res/icon/ios/icon-60.png" width="60" height="60"/>
<icon src="www/res/icon/ios/icon-60@2x.png" width="120" height="120"/>
<icon src="www/res/icon/ios/icon-60@3x.png" width="180" height="180"/>
<icon src="www/res/icon/ios/icon-72.png" width="72" height="72"/>
<icon src="www/res/icon/ios/icon-72@2x.png" width="144" height="144"/>
<icon src="www/res/icon/ios/icon-76.png" width="76" height="76"/>
<icon src="www/res/icon/ios/icon-76@2x.png" width="152" height="152"/>
<icon src="www/res/icon/ios/icon-167.png" width="167" height="167"/>
<icon src="www/res/icon/ios/icon-83.5@2x.png" width="167" height="167"/>
<!-- Storyboard portrait -->
<splash src="www/res/screen/ios/Default@2x~iphone~anyany.png"/>
<splash src="www/res/screen/ios/Default@2x~iphone~comany.png"/>
<splash src="www/res/screen/ios/Default@3x~iphone~anyany.png"/>
<splash src="www/res/screen/ios/Default@3x~iphone~comany.png"/>
<splash src="www/res/screen/ios/Default@2x~ipad~anyany.png"/>
<splash src="www/res/screen/ios/Default@2x~ipad~comany.png"/>
</platform>
</widget>
UserError: Failed to restore plugin “com.phonegap.plugins.barcodescanner”. You might need to try adding it again. Error: Error: Does not appear to be an xcode project, no xcode project file in /Users/voltbuilder/Code/VoltBuilder/upload/fbfd78d3-e3f1-46f6-b833-f285f6131ddc/platforms/ios