13 Replies Latest reply on Apr 5, 2017 1:10 PM by gaildaig

    phone gap build only fails in iOS

    gaildaig Level 1

      phone gap build only fails in iOS; The Build works in in android and windows; using dreamweaver. Received error:Oh geez. Your build failed. Click the "Log" button above to view the compile log.

       

      I think the problem may be in my config file-

       

      <?xml version="1.0" encoding="UTF-8"?>

         

      <!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->

      <widget xmlns     = "http://www.w3.org/ns/widgets"

          xmlns:gap = "http://phonegap.com/ns/1.0"

        xmlns:android   = "http://schemas.android.com/apk/res/android"

          id        = "com.gsd.k12.ms.us.GrenadaSchoolDistrict"

          version   = "6.0.0"

        android-versionCode = "326">

       

              <!-- versionCode is optional and Android only -->

       

              <preference name="phonegap-version" value="cli-6.5.0" />

       

         

          <name>Grenada School District</name>

         

          <description>

             Grenada School District-Creating successful learners through innovative teaching methods in a safe, technology rich environment.

          </description>

         

          <author href="http://phonegap.com" email="gdaigneault@grenadak12.com">

              Gail Daigneault

          </author>

       

       

         

        <icon src="icon.png" gap:role="default"/>

        <content src="index.html" />

              <access origin="*" />

            

       

       

              <preference name="Fullscreen" value="true" />

              <preference name="WebViewBounce" value="true" />

         

          <!--

           If you do not want any permissions to be added to your app, add the

           following tag to your config.xml; you will still have the INTERNET

           permission on your app, which PhoneGap requires.

           -->

        

          <!-- Customize your app and platform with the preference element. -->

          <preference name="phonegap-version"           value="cli-6.5.0" />          <!-- all: current version of PhoneGap -->

          <preference name="orientation"                value="default" />        <!-- all: default means both landscape and portrait are enabled -->

          <preference name="target-device"              value="universal" />      <!-- all: possible values handset, tablet, or universal -->

       

        <preference name="stay-in-webview" value="false" />

       

       

         

          <preference name="detect-data-types"          value="true" />           <!-- ios: controls whether data types (such as phone no. and dates) are automatically turned into links by the system -->

          <preference name="exit-on-suspend"            value="false" />          <!-- ios: if set to true, app will terminate when home button is pressed -->

          <preference name="auto-hide-splash-screen"    value="true" />           <!-- ios: if set to false, the splash screen must be hidden using a JavaScript API -->

          <preference name="disable-cursor"             value="false" />          <!-- blackberry: prevents a mouse-icon/cursor from being displayed on the app -->

          <preference name="android-minSdkVersion"      value="10" />              <!-- android: MIN SDK version supported on the target device. MAX version is blank by default. -->

          <preference name="android-installLocation"    value="auto" />           <!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -->

      var ref = cordova.InAppBrowser.open(url, target, options);

         

          <!-- Plugins -->

         

          <!-- Core plugins -->

       

         

      <plugin name="cordova-plugin-inappbrowser" spec="~1.7.0" />

      <plugin name="cordova-plugin-battery-status" />

      <plugin name="cordova-plugin-camera" />

      <plugin name="cordova-plugin-media-capture" />

      <plugin name="cordova-plugin-console" />

      <plugin name="cordova-plugin-contacts" />

      <plugin name="cordova-plugin-device" />

      <plugin name="cordova-plugin-device-motion" />

      <plugin name="cordova-plugin-device-orientation" />

      <plugin name="cordova-plugin-dialogs" />

      <plugin name="cordova-plugin-file" />

      <plugin name="cordova-plugin-file-transfer" />

      <plugin name="cordova-plugin-geolocation" />

      <plugin name="cordova-plugin-globalization" />

      <plugin name="cordova-plugin-inappbrowser" />

      <plugin name="cordova-plugin-media" />

      <plugin name="cordova-plugin-network-information" />

      <plugin name="cordova-plugin-splashscreen" />

      <plugin name="cordova-plugin-vibration" />

      <plugin name="cordova-plugin-qrscanner" />

       

       

          <!-- Third party plugins -->

          <!-- A list of available plugins are available at https://build.phonegap.com/plugins -->

          <!--

           <gap:plugin name="com.phonegap.plugins.barcodescanner" />

           -->

         

          <!-- Define app icon for each platform. -->

          <icon src="icon.png" />

        <!-- Define app icon MAIN ROOT Platform. -->

       

      <icon src="icon.png" />

       

      <!-- Define app icon ANDROID Platform. -->

       

      <icon src="icons/android/icon-36-ldpi.png" gap:platform="android" gap:density="ldpi" />

       

      <icon src="icons/android/icon-48-mdpi.png" gap:platform="android" gap:density="mdpi" />

       

      <icon src="icons/android/icon-72-hdpi.png" gap:platform="android" gap:density="hdpi" />

       

      <icon src="icons/android/icon-96-xhdpi.png" gap:platform="android" gap:density="xhdpi" />

       

      <!-- Define app icon BLACKBERRY Platform. -->

       

      <icon src="icons/blackberry/icon-80.png" gap:platform="blackberry" />

       

      <icon src="icons/blackberry/icon-80.png" gap:platform="blackberry" gap:state="hover"/>

       

      <!-- Define app icon IOS Platform. -->

       

      <icon src="icons/ios/icon.png" gap:platform="ios" width="57" height="57" />

       

      <icon src="icons/ios/icon-72.png" gap:platform="ios" width="72" height="72" />

       

      <icon src="icons/ios/icon_at_2x.png" gap:platform="ios" width="114" height="114" />

      <icon src="icons/ios/icon-120.png" gap:platform="ios" width="120" height="120" />

       

      <icon src="icons/ios/icon-152.png" gap:platform="ios" width="152" height="152" />

       

      <icon src="icons/ios/icon-76.png" gap:platform="ios" width="76" height="76" />

       

       

      <!-- retina iPad support: PhoneGap 2.5.0+ only -->

       

      <icon src="icons/ios/icon-72_at_2x.png" gap:platform="ios" width="144" height="144" />

       

      <!-- Define app icon WEBOS Platform. -->

       

      <icon src="icons/webos/icon-64.png" gap:platform="webos" />

       

      <icon src="icons/windows-phone/icon-48.png" gap:platform="winphone" />

       

      <!-- Define app icon WINPHONE Platform. -->

       

      <!-- Define app splash screen for ANDROID platform. -->

       

      <gap:splash src="splash/android/screen-ldpi-portrait.png" gap:platform="android" gap:density="ldpi" />

       

      <gap:splash src="splash/android/screen-mdpi-portrait.png" gap:platform="android" gap:density="mdpi" />

       

      <gap:splash src="splash/android/screen-hdpi-portrait.png" gap:platform="android" gap:density="hdpi" />

       

      <gap:splash src="splash/android/screen-xhdpi-portrait.png" gap:platform="android" gap:density="xhdpi" />

       

      <!-- Define app splash screen for Blackberry platform. -->

       

      <gap:splash src="splash/blackberry/screen-225.png" gap:platform="blackberry" />

       

      <!-- Define app splash screen for IOS platform. -->

       

      <gap:splash src="splash/ios/Default.png" width="320" height="480" />

       

      <gap:splash src="splash/ios/Default_at_2x.png" width="640" height="960" />

       

      <gap:splash src="splash/ios/Default_iphone5.png" width="640" height="1136" />

       

      <gap:splash src="splash/ios/Default-Landscape.png" width="1024" height="768" />

       

      <gap:splash src="splash/ios/Default-Portrait.png" width="768" height="1024" />

       

      <gap:splash src="splash/ios/Default-Landscape_at_2x.png" width="2048" height="1496" />

       

      <gap:splash src="splash/ios/Default-Portrait_at_2x.png" width="1536" height="2008" />

      <icon src="icons/ios/icon-120.png" gap:platform="ios" width="120" height="120" />

       

      <icon src="icons/ios/icon-152.png" gap:platform="ios" width="152" height="152" />

       

      <icon src="icons/ios/icon-76.png" gap:platform="ios" width="76" height="76" />

       

      <!-- Define app splash screen for WINPHONE platform. -->

       

      <gap:splash src="splash/windows-phone/screen-portrait.jpg" gap:platform="winphone" />

         

           Define access to external domains.

          

          

           <access origin="*" /> - a wildcard access tag allows access to all external resource.

          

           Otherwise, you can specify specific domains:

           -->

          <access origin="*"/> <!-- allow local pages -->

          <!--

           <access origin="http://phonegap.com" />                    - allow any secure requests to http://phonegap.com/

           <access origin="http://phonegap.com" subdomains="true" />  - same as above, but including subdomains, such as http://build.phonegap.com/

           -->

         

      </widget>

        • 1. Re: phone gap build only fails in iOS
          daveyh70608965

          I have the same problem, app id 2549092.

           

           

          2017-04-03 16:51:06.410 xcodebuild[68149:65245025] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/s_/vmsnhgb97td15v6r7bbh0dtr0000gp/T/DSJTest_2017-04-03_16-51-06.409.xcdistr ibutionlogs'.

          1.2.840.113635.100.1.61

          2017-04-03 16:51:11.936 xcodebuild[68149:65245025] [MT] IDEDistribution: Step failed: <IDEDistributionThinningStep: 0x7fc099d22bd0>: Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}

          error: exportArchive: No applicable devices found.

           

          Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}

           

          ** EXPORT FAILED **

           

          Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,DSJTest.xcarchive,-exportOptionsPlist,/private/tmp/gimlet/254 9092/project/exportOptions.plist,-exportPath,/private/tmp/gimlet/2549092/project/build/dev ice

          • 2. Re: phone gap build only fails in iOS
            ryanskihead Adobe Employee

            Gail you in your upload you have a directory which appears to contain an entire xcode project. Remove that directory.

            • 3. Re: phone gap build only fails in iOS
              ryanskihead Adobe Employee

              Davey not sure specifically what's causing your error, but I was able to build your app without error using my own certificate and provisioning profile, so that's likely where the error is coming from. How did you create it? Perhaps try recreating your certificate and profile, and re-uploading to Phonegap Build.

              • 4. Re: phone gap build only fails in iOS
                daveyh70608965 Level 1

                Thank you for your reply ryanskihead. I tried to create a new key/profile twice now, and no success. I am getting the same error. It stopped working randomly yesterday.


                Edit: I did a git reset, 2 commits back, and now it builds. Isn't that weird since you can build it?
                At least I manged to make a build

                • 5. Re: phone gap build only fails in iOS
                  gaildaig Level 1

                  I don't understand what to do- I am a beginner- Could you be more specific?

                  • 6. Re: phone gap build only fails in iOS
                    gaildaig Level 1

                    I don't know what a git reset is, nor do I know which directory to delete- more info, please

                    • 7. Re: phone gap build only fails in iOS
                      gaildaig Level 1

                      Thank you for your help-

                       

                      I deleted the directory-

                      I have been messing with the config file-i guess I made it worse

                      I pasted the current config file

                       

                       

                      I received message from phone gap- malformed config file-

                       

                       

                       

                      <?xml version="1.0" encoding="UTF-8"?>

                         

                      <!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->

                      <widget xmlns     = "http://www.w3.org/ns/widgets"

                          xmlns:gap = "http://phonegap.com/ns/1.0"

                        xmlns:android   = "http://schemas.android.com/apk/res/android"

                          id        = "com.gsd.k12.ms.us.GrenadaSchoolDistrict"

                          version   = "6.0.0"

                        android-versionCode = "326">

                       

                              <!-- versionCode is optional and Android only -->

                       

                       

                          <name>Grenada School District</name>

                         

                          <description>

                             Grenada School District-Creating successful learners through innovative teaching methods in a safe, technology rich environment.

                          </description>

                         

                          <author href="http://gsd.k12.ms.us.com" email="gdaigneault@grenadak12.com">

                              Gail Daigneault

                          </author>

                         

                         

                       

                         

                       

                              <preference name="Fullscreen" value="true" />

                              <preference name="WebViewBounce" value="true" />

                         

                          <!--

                           If you do not want any permissions to be added to your app, add the

                           following tag to your config.xml; you will still have the INTERNET

                           permission on your app, which PhoneGap requires.

                           -->

                        

                          <!-- Customize your app and platform with the preference element. -->

                          <preference name="phonegap-version"           value="cli-6.5.0" />          <!-- all: current version of PhoneGap -->

                          <preference name="orientation"                value="default" />        <!-- all: default means both landscape and portrait are enabled -->

                          <preference name="target-device"              value="universal" />      <!-- all: possible values handset, tablet, or universal -->

                       

                        <preference name="stay-in-webview" value="false" />

                       

                       

                       

                          <preference name="detect-data-types"          value="true" />           <!-- ios: controls whether data types (such as phone no. and dates) are automatically turned into links by the system -->

                          <preference name="exit-on-suspend"            value="false" />          <!-- ios: if set to true, app will terminate when home button is pressed -->

                          <preference name="auto-hide-splash-screen"    value="true" />           <!-- ios: if set to false, the splash screen must be hidden using a JavaScript API -->

                          <preference name="disable-cursor"             value="false" />          <!-- blackberry: prevents a mouse-icon/cursor from being displayed on the app -->

                          <preference name="android-minSdkVersion"      value="10" />              <!-- android: MIN SDK version supported on the target device. MAX version is blank by default. -->

                          <preference name="android-installLocation"    value="auto" />           <!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -->

                      var ref = cordova.InAppBrowser.open(url, target, options);

                       

                       

                      <feature name="permissions" value="none"/>

                      <feature name="debug-server" required="true">

                           <param name="domain" value="http://debug.custom.com"/>

                           <param name="key" value="some_unique_key"/>

                      </feature>

                      <feature name="http:api.phonegap.com/1.0/device">

                       

                          <!-- Plugins -->

                         

                          <!-- Core plugins -->

                       

                         

                      <plugin name="cordova-plugin-inappbrowser" spec="~1.7.0" />

                      <plugin name="cordova-plugin-battery-status" />

                      <plugin name="cordova-plugin-camera" />

                      <plugin name="cordova-plugin-media-capture" />

                      <plugin name="cordova-plugin-console" />

                      <plugin name="cordova-plugin-contacts" />

                      <plugin name="cordova-plugin-device" />

                      <plugin name="cordova-plugin-device-motion" />

                      <plugin name="cordova-plugin-device-orientation" />

                      <plugin name="cordova-plugin-dialogs" />

                      <plugin name="cordova-plugin-file" />

                      <plugin name="cordova-plugin-file-transfer" />

                      <plugin name="cordova-plugin-geolocation" />

                      <plugin name="cordova-plugin-globalization" />

                      <plugin name="cordova-plugin-inappbrowser" />

                      <plugin name="cordova-plugin-media" />

                      <plugin name="cordova-plugin-network-information" />

                      <plugin name="cordova-plugin-splashscreen" />

                      <plugin name="cordova-plugin-vibration" />

                      <plugin name="cordova-plugin-qrscanner" />

                       

                       

                          <!-- Third party plugins -->

                          <!-- A list of available plugins are available at https://build.phonegap.com/plugins -->

                          <!--

                           <gap:plugin name="com.phonegap.plugins.barcodescanner" />

                           -->

                         

                          <!-- Define app icon for each platform. -->

                          <icon src="icon.png" />

                        <!-- Define app icon MAIN ROOT Platform. -->

                          <icon src="icon.png" gap:role="default"/>

                       

                       

                      <icon src="icon.png" />

                       

                      <!-- Define app icon ANDROID Platform. -->

                       

                      <icon src="icons/android/icon-36-ldpi.png" gap:platform="android" gap:density="ldpi" />

                       

                      <icon src="icons/android/icon-48-mdpi.png" gap:platform="android" gap:density="mdpi" />

                       

                      <icon src="icons/android/icon-72-hdpi.png" gap:platform="android" gap:density="hdpi" />

                       

                      <icon src="icons/android/icon-96-xhdpi.png" gap:platform="android" gap:density="xhdpi" />

                       

                      <!-- Define app icon BLACKBERRY Platform. -->

                       

                      <icon src="icons/blackberry/icon-80.png" gap:platform="blackberry" />

                       

                      <icon src="icons/blackberry/icon-80.png" gap:platform="blackberry" gap:state="hover"/>

                       

                      <!-- Define app icon IOS Platform. -->

                       

                      <icon src="icons/ios/icon.png" gap:platform="ios" width="57" height="57" />

                       

                      <icon src="icons/ios/icon-72.png" gap:platform="ios" width="72" height="72" />

                       

                      <icon src="icons/ios/icon_at_2x.png" gap:platform="ios" width="114" height="114" />

                      <icon src="icons/ios/icon-120.png" gap:platform="ios" width="120" height="120" />

                       

                      <icon src="icons/ios/icon-152.png" gap:platform="ios" width="152" height="152" />

                       

                      <icon src="icons/ios/icon-76.png" gap:platform="ios" width="76" height="76" />

                       

                       

                      <!-- retina iPad support: PhoneGap 2.5.0+ only -->

                       

                      <icon src="icons/ios/icon-72_at_2x.png" gap:platform="ios" width="144" height="144" />

                       

                      <!-- Define app icon WEBOS Platform. -->

                       

                      <icon src="icons/webos/icon-64.png" gap:platform="webos" />

                       

                      <icon src="icons/windows-phone/icon-48.png" gap:platform="winphone" />

                       

                      <!-- Define app icon WINPHONE Platform. -->

                       

                      <!-- Define app splash screen for ANDROID platform. -->

                       

                      <gap:splash src="splash/android/screen-ldpi-portrait.png" gap:platform="android" gap:density="ldpi" />

                       

                      <gap:splash src="splash/android/screen-mdpi-portrait.png" gap:platform="android" gap:density="mdpi" />

                       

                      <gap:splash src="splash/android/screen-hdpi-portrait.png" gap:platform="android" gap:density="hdpi" />

                       

                      <gap:splash src="splash/android/screen-xhdpi-portrait.png" gap:platform="android" gap:density="xhdpi" />

                       

                      <!-- Define app splash screen for Blackberry platform. -->

                       

                      <gap:splash src="splash/blackberry/screen-225.png" gap:platform="blackberry" />

                       

                      <!-- Define app splash screen for IOS platform. -->

                       

                      <gap:splash src="splash/ios/Default.png" width="320" height="480" />

                       

                      <gap:splash src="splash/ios/Default_at_2x.png" width="640" height="960" />

                       

                      <gap:splash src="splash/ios/Default_iphone5.png" width="640" height="1136" />

                       

                      <gap:splash src="splash/ios/Default-Landscape.png" width="1024" height="768" />

                       

                      <gap:splash src="splash/ios/Default-Portrait.png" width="768" height="1024" />

                       

                      <gap:splash src="splash/ios/Default-Landscape_at_2x.png" width="2048" height="1496" />

                       

                      <gap:splash src="splash/ios/Default-Portrait_at_2x.png" width="1536" height="2008" />

                      <icon src="icons/ios/icon-120.png" gap:platform="ios" width="120" height="120" />

                       

                      <icon src="icons/ios/icon-152.png" gap:platform="ios" width="152" height="152" />

                       

                      <icon src="icons/ios/icon-76.png" gap:platform="ios" width="76" height="76" />

                       

                      <!-- Define app splash screen for WINPHONE platform. -->

                       

                      <gap:splash src="splash/windows-phone/screen-portrait.jpg" gap:platform="winphone" />

                       

                        <content src="index.html" />

                         

                           Define access to external domains.

                          

                          

                           <access origin="*" /> - a wildcard access tag allows access to all external resource.

                          

                           Otherwise, you can specify specific domains:

                           -->

                          <access origin="*"/> <!-- allow local pages -->

                          <!--

                           <access origin="http://phonegap.com" />                    - allow any secure requests to http://phonegap.com/

                           <access origin="http://phonegap.com" subdomains="true" />  - same as above, but including subdomains, such as http://build.phonegap.com/

                           -->

                         

                      </widget>

                      • 8. Re: phone gap build only fails in iOS
                        ryanskihead Adobe Employee

                        If you're getting malformed xml, you have an error in your xml syntax. Try putting it in an online xml validator like this one: http://www.xmlvalidation.com/

                        • 9. Re: phone gap build only fails in iOS
                          gaildaig Level 1

                          Thank you so much for your help!  I fixed the syntax but still not getting the build-

                          Pasting the config file again-

                           

                          Have I got the feature tags right?

                           

                          Thanks again

                           

                           

                           

                          <?xml version="1.0" encoding="UTF-8"?>

                             

                          <!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->

                          <widget xmlns     = "http://www.w3.org/ns/widgets"

                              xmlns:gap = "http://phonegap.com/ns/1.0"

                            xmlns:android   = "http://schemas.android.com/apk/res/android"

                              id        = "com.gsd.k12.ms.us.GrenadaSchoolDistrict"

                              version   = "6.0.0"

                            android-versionCode = "326">

                           

                                  <!-- versionCode is optional and Android only -->

                           

                           

                              <name>Grenada School District</name>

                             

                              <description>

                                 Grenada School District-Creating successful learners through innovative teaching methods in a safe, technology rich environment.

                              </description>

                             

                              <author href="http://gsd.k12.ms.us.com" email="gdaigneault@grenadak12.com">

                                  Gail Daigneault

                              </author>

                             

                             

                           

                             

                           

                                  <preference name="Fullscreen" value="true" />

                                  <preference name="WebViewBounce" value="true" />

                             

                              <!--

                               If you do not want any permissions to be added to your app, add the

                               following tag to your config.xml; you will still have the INTERNET

                               permission on your app, which PhoneGap requires.

                               -->

                            

                              <!-- Customize your app and platform with the preference element. -->

                              <preference name="phonegap-version"           value="cli-6.5.0" />          <!-- all: current version of PhoneGap -->

                              <preference name="orientation"                value="default" />        <!-- all: default means both landscape and portrait are enabled -->

                              <preference name="target-device"              value="universal" />      <!-- all: possible values handset, tablet, or universal -->

                           

                            <preference name="stay-in-webview" value="false" />

                           

                           

                           

                              <preference name="detect-data-types"          value="true" />           <!-- ios: controls whether data types (such as phone no. and dates) are automatically turned into links by the system -->

                              <preference name="exit-on-suspend"            value="false" />          <!-- ios: if set to true, app will terminate when home button is pressed -->

                              <preference name="auto-hide-splash-screen"    value="true" />           <!-- ios: if set to false, the splash screen must be hidden using a JavaScript API -->

                              <preference name="disable-cursor"             value="false" />          <!-- blackberry: prevents a mouse-icon/cursor from being displayed on the app -->

                              <preference name="android-minSdkVersion"      value="10" />              <!-- android: MIN SDK version supported on the target device. MAX version is blank by default. -->

                              <preference name="android-installLocation"    value="auto" />           <!-- android: app install location. 'auto' will choose. 'internalOnly' is device memory. 'preferExternal' is SDCard. -->

                          var ref = cordova.InAppBrowser.open(url, target, options);

                           

                           

                          <feature name="permissions" value="none"/>

                          <feature name="debug-server" required="true">

                               <param name="domain" value="http://debug.custom.com"/>

                               <param name="key" value="some_unique_key"/>

                          </feature>

                          <feature name="http:api.phonegap.com/1.0/device"></feature>

                           

                              <!-- Plugins -->

                             

                              <!-- Core plugins -->

                           

                             

                          <plugin name="cordova-plugin-inappbrowser" spec="~1.7.0" />

                          <plugin name="cordova-plugin-battery-status" />

                          <plugin name="cordova-plugin-camera" />

                          <plugin name="cordova-plugin-media-capture" />

                          <plugin name="cordova-plugin-console" />

                          <plugin name="cordova-plugin-contacts" />

                          <plugin name="cordova-plugin-device" />

                          <plugin name="cordova-plugin-device-motion" />

                          <plugin name="cordova-plugin-device-orientation" />

                          <plugin name="cordova-plugin-dialogs" />

                          <plugin name="cordova-plugin-file" />

                          <plugin name="cordova-plugin-file-transfer" />

                          <plugin name="cordova-plugin-geolocation" />

                          <plugin name="cordova-plugin-globalization" />

                          <plugin name="cordova-plugin-inappbrowser" />

                          <plugin name="cordova-plugin-media" />

                          <plugin name="cordova-plugin-network-information" />

                          <plugin name="cordova-plugin-splashscreen" />

                          <plugin name="cordova-plugin-vibration" />

                          <plugin name="cordova-plugin-qrscanner" />

                           

                           

                              <!-- Third party plugins -->

                              <!-- A list of available plugins are available at https://build.phonegap.com/plugins -->

                              <!--

                               <gap:plugin name="com.phonegap.plugins.barcodescanner" />

                               -->

                             

                              <!-- Define app icon for each platform. -->

                              <icon src="icon.png" />

                            <!-- Define app icon MAIN ROOT Platform. -->

                              <icon src="icon.png" gap:role="default"/>

                           

                           

                          <icon src="icon.png" />

                           

                          <!-- Define app icon ANDROID Platform. -->

                           

                          <icon src="icons/android/icon-36-ldpi.png" gap:platform="android" gap:density="ldpi" />

                           

                          <icon src="icons/android/icon-48-mdpi.png" gap:platform="android" gap:density="mdpi" />

                           

                          <icon src="icons/android/icon-72-hdpi.png" gap:platform="android" gap:density="hdpi" />

                           

                          <icon src="icons/android/icon-96-xhdpi.png" gap:platform="android" gap:density="xhdpi" />

                           

                          <!-- Define app icon BLACKBERRY Platform. -->

                           

                          <icon src="icons/blackberry/icon-80.png" gap:platform="blackberry" />

                           

                          <icon src="icons/blackberry/icon-80.png" gap:platform="blackberry" gap:state="hover"/>

                           

                          <!-- Define app icon IOS Platform. -->

                           

                          <icon src="icons/ios/icon.png" gap:platform="ios" width="57" height="57" />

                           

                          <icon src="icons/ios/icon-72.png" gap:platform="ios" width="72" height="72" />

                           

                          <icon src="icons/ios/icon_at_2x.png" gap:platform="ios" width="114" height="114" />

                          <icon src="icons/ios/icon-120.png" gap:platform="ios" width="120" height="120" />

                           

                          <icon src="icons/ios/icon-152.png" gap:platform="ios" width="152" height="152" />

                           

                          <icon src="icons/ios/icon-76.png" gap:platform="ios" width="76" height="76" />

                           

                           

                          <!-- retina iPad support: PhoneGap 2.5.0+ only -->

                           

                          <icon src="icons/ios/icon-72_at_2x.png" gap:platform="ios" width="144" height="144" />

                           

                          <!-- Define app icon WEBOS Platform. -->

                           

                          <icon src="icons/webos/icon-64.png" gap:platform="webos" />

                           

                          <icon src="icons/windows-phone/icon-48.png" gap:platform="winphone" />

                           

                          <!-- Define app icon WINPHONE Platform. -->

                           

                          <!-- Define app splash screen for ANDROID platform. -->

                           

                          <gap:splash src="splash/android/screen-ldpi-portrait.png" gap:platform="android" gap:density="ldpi" />

                           

                          <gap:splash src="splash/android/screen-mdpi-portrait.png" gap:platform="android" gap:density="mdpi" />

                           

                          <gap:splash src="splash/android/screen-hdpi-portrait.png" gap:platform="android" gap:density="hdpi" />

                           

                          <gap:splash src="splash/android/screen-xhdpi-portrait.png" gap:platform="android" gap:density="xhdpi" />

                           

                          <!-- Define app splash screen for Blackberry platform. -->

                           

                          <gap:splash src="splash/blackberry/screen-225.png" gap:platform="blackberry" />

                           

                          <!-- Define app splash screen for IOS platform. -->

                           

                          <gap:splash src="splash/ios/Default.png" width="320" height="480" />

                           

                          <gap:splash src="splash/ios/Default_at_2x.png" width="640" height="960" />

                           

                          <gap:splash src="splash/ios/Default_iphone5.png" width="640" height="1136" />

                           

                          <gap:splash src="splash/ios/Default-Landscape.png" width="1024" height="768" />

                           

                          <gap:splash src="splash/ios/Default-Portrait.png" width="768" height="1024" />

                           

                          <gap:splash src="splash/ios/Default-Landscape_at_2x.png" width="2048" height="1496" />

                           

                          <gap:splash src="splash/ios/Default-Portrait_at_2x.png" width="1536" height="2008" />

                          <icon src="icons/ios/icon-120.png" gap:platform="ios" width="120" height="120" />

                           

                          <icon src="icons/ios/icon-152.png" gap:platform="ios" width="152" height="152" />

                           

                          <icon src="icons/ios/icon-76.png" gap:platform="ios" width="76" height="76" />

                           

                          <!-- Define app splash screen for WINPHONE platform. -->

                           

                          <gap:splash src="splash/windows-phone/screen-portrait.jpg" gap:platform="winphone" />

                           

                            <content src="index.html" />

                             

                               Define access to external domains.

                              

                              

                               <access origin="*" /> - a wildcard access tag allows access to all external resource.

                              

                               Otherwise, you can specify specific domains:

                               -->

                              <access origin="*"/> <!-- allow local pages -->

                              <!--

                               <access origin="http://phonegap.com" />                    - allow any secure requests to http://phonegap.com/

                               <access origin="http://phonegap.com" subdomains="true" />  - same as above, but including subdomains, such as http://build.phonegap.com/

                               -->

                             

                          </widget>

                          • 10. Re: phone gap build only fails in iOS
                            ryanskihead Adobe Employee

                            Compile errors are usually do to a problem with a plugin. In this case by elimination you can find that cordova-plugin-qrscanner is causing the failure. Are you actually using this plugin for anything in your app?

                            • 11. Re: phone gap build only fails in iOS
                              gaildaig Level 1

                              I would like to be able to use the qr code on the phone gap build page to preview my app- Is this plug-in necessary for this action?

                              • 12. Re: phone gap build only fails in iOS
                                ryanskihead Adobe Employee

                                Not necessary no. You should use a third-party qr-code scanner app to scan the Phonegap Build QR code, which will then install your app.

                                • 13. Re: phone gap build only fails in iOS
                                  gaildaig Level 1

                                  Thank you so much!!!!!! The Build Works!!!!!!!!!

                                   

                                  But the QR Scanner is not working to install test app on my phone- I am using the phone I listed in the mobile provision certificate