0 Replies Latest reply on Jan 9, 2018 8:02 AM by encho

    Build error seems to sometimes occurs when cordova-plugin-background-fetch is used.

    encho

      Build error of iOS seems to sometimes occurs when cordova-plugin-background-fetch is used.

       

      When cordova-plugin-background-fetch is used, build is sometimes success, but sometimes build error occurs for iOS.

       

      Build error log is below.

       

      https://build.phonegap.com/apps/2941649/logs/ios/build/

       

      And, platform and plugin written inconfig.xml are below

       

          <engine name="ios" spec="~4.5.4" />

          <engine name="android" spec="~6.3.0" />

          <plugin name="cordova-plugin-battery-status" spec="~1.1.1" />

          <plugin name="cordova-plugin-camera" spec="~2.1.1" />

          <plugin name="cordova-plugin-console" spec="~1.0.2" />

          <plugin name="cordova-plugin-device" spec="~1.1.1" />

          <plugin name="cordova-plugin-device-motion" spec="~1.2.0" />

          <plugin name="cordova-plugin-device-orientation" spec="~1.0.2" />

          <plugin name="cordova-plugin-dialogs" spec="~1.2.0" />

          <plugin name="cordova-plugin-globalization" spec="~1.0.3" />

          <plugin name="cordova-plugin-network-information" spec="~1.2.0" />

          <plugin name="cordova-plugin-splashscreen" spec="~3.2.1" />

          <plugin name="cordova-plugin-statusbar" spec="~2.1.2" />

          <plugin name="cordova-plugin-vibration" spec="~2.1.0" />

          <plugin name="cordova-plugin-whitelist" spec="~1.2.1" />

          <plugin name="phonegap-plugin-barcodescanner" spec="^7.0.0" />

          <plugin name="phonegap-plugin-push" spec="^1.8.4">

              <variable name="SENDER_ID" value="xxxxxxxxxxxxx" />

              <variable name="FCM_VERSION" value="11.0.1" />

          </plugin>

          <plugin name="cordova-plugin-badge" spec="^0.8.5" />

          <plugin name="cordova-plugin-background-fetch" source="npm" />

       

      Please, someone resolves this problem...