UserError: The following build commands failed: CompileC

I’m trying to compile my iPhone app again with Volt builder. It compiled fine a few months agao but I needed to change a few spelling and cosmetic errors for an update. I made the simple changes, updated the version, and zip it up.

Now i’m getting this error… IF it worked a few months ago these simple changes shouldn’t be enough to throw an error. Was thinking about signing up for Volt but I need something more reliable than this I think if everytime I make a small change I’m getting errors when building.

We’d love to help. What error message are you getting?

Some changes to your configuration are inevitable. Both Android and iOS have made significant changes which may affect your app. They didn’t show up in PhoneGap since PhoneGap never bothered to update their stuff.

I managed to dig up your job. You’re using cordova-plugin-file-transfer, which has been deprecated.

There is more info here:

Ok, we removed this plugin from our config.xml now the app is broke? ANyway, we can bypass this???

the app is broke?

Can you give a better description of your problem?

So we tested the build on the Android debug release, removing `cordova-plugin-file-transfer, and everything works fine.

Tested the same build on iPhone but it seems 2 js plugins we are using there is something not working…

Anytime the app calls to add information to the lokijs db it won’t and for the contact form on the app the submission goes thru but no jAlert modal is fired.

The code did not change at all and these have worked perfectly for over 4 years… so I’m thinking it must have to do with the new iPhone Xcode changes you recently made:

We went back to the our last build that worked, changed the version # and submitted that for review just so we can get this fixed because having our users not seeing their info is a HUGE problem!

Still waiting for review (fingers crossed!)

There’s not enough information here to determine the problem. A lot has changed in iOS and Cordova, especially in the past year. There could be a number of different explanations.

The first thing I would do is connect the Safari Web Inspector and look for errors in the Console.

I’m compiling the app on WIndows… can this be done on that OS? Is this a tutorial for this?

A problem like this will definitely have us reassess using Volt.

Below is our config.xml if that will help. Lso, everything works fine on Adroid & Cordova desktop.

<?xml version='1.0' encoding='utf-8'?>
<widget id="" version=" 1.99665" xmlns="" xmlns:gap="">
  <edit-config target="CFBundleShortVersionString" file="*-Info.plist" mode="overwrite">


    <author email="XXXXX" href="https://XXXXX">
    <content src="index.html" />
         <preference name="cordova-ios" version="4.5.4" />
      <preference name="phonegap-version" value="cli-9.0.0" />
    <preference name="AndroidPersistentFileLocation" value="Compatibility" />
    <preference name="SplashScreen" value="splash" />
    <preference name="SplashScreenDelay" value="8000" />
    <preference name="AutoHideSplashScreen" value="true" />
    <preference name="SplashMaintainAspectRatio" value="true" />
    <preference name="DisallowOverscroll" value="true" />
    <preference name="android-minSdkVersion" value="19" />
    <preference name="android-targetSdkVersion" value="28" />
    <preference name="StatusBarOverlaysWebView" value="false" />
    <preference name="StatusBarBackgroundColor" value="#000000" />
    <preference name="StatusBarStyle" value="lightcontent" />
     <preference name="android-installLocation" value="auto"/>
    <access origin="*" />
    <access launch-external="yes" origin="tel:*" />
    <access launch-external="yes" origin="geo:*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="geo:*" />
    <allow-intent href="tel:*" />
    <access origin="*" subdomains="true"/>
       <access origin="" subdomains="true" />
        <access origin="*" />
         <access origin="*" />
           <access origin="**" subdomains="true" />
               <access origin="**" subdomains="true" />
                  <access origin="**" subdomains="true" />
                      <access origin="**" subdomains="true" />
                      <access origin="" subdomains="true"/>
    <plugin name="cordova-plugin-apprate" />
    <plugin name="cordova-plugin-device" />
    <plugin name="cordova-plugin-dialogs"  />
    <plugin name="cordova-plugin-file"  />
 <plugin name="cordova-plugin-geolocation" spec="2.4.3" />
    <plugin name="cordova-plugin-globalization"  />
    <plugin name="cordova-plugin-inappbrowser"  />
    <plugin name="cordova-plugin-splashscreen" />
    <plugin name="cordova-plugin-statusbar" />
    <plugin name="cordova-plugin-whitelist" />
    <platform name="android">
        <icon density="ldpi" src="res/icon/android/drawable-ldpi-icon.png" />
        <icon density="mdpi" src="res/icon/android/drawable-mdpi-icon.png" />
        <icon density="hdpi" src="res/icon/android/drawable-hdpi-icon.png" />
        <icon density="xhdpi" src="res/icon/android/drawable-xhdpi-icon.png" />
        <icon density="xxhdpi" src="res/icon/android/drawable-xxhdpi-icon.png" />
        <icon density="xxxhdpi" src="res/icon/android/drawable-xxxhdpi-icon.png" />
        <splash density="port-ldpi" src="res/screen/android/drawable-port-ldpi-screen.png" />
        <splash density="port-mdpi" src="res/screen/android/drawable-port-mdpi-screen.png" />
        <splash density="port-hdpi" src="res/screen/android/drawable-port-hdpi-screen.png" />
        <splash density="port-xhdpi" src="res/screen/android/drawable-port-xhdpi-screen.png" />
        <splash density="port-xxhdpi" src="res/screen/android/drawable-port-xxhdpi-screen.png" />
        <splash density="port-xxxhdpi" src="res/screen/android/drawable-port-xxxhdpi-screen.png" />
        <splash src="res/screen/android/splash.png" />
    <platform name="ios">
      <edit-config target="NSLocationAlwaysUsageDescription" file="*-Info.plist" mode="overwrite">
    <string>Allow the app to know your location</string>
     <icon src="res/icon/ios/icon-1024.png" width="1024" height="1024"/>
<icon src="res/icon/ios/icon-small.png" width="29" height="29"/>
<icon src="res/icon/ios/icon-small@2x.png" width="58" height="58"/>
<icon src="res/icon/ios/icon-small@3x.png" width="87" height="87"/>
<icon src="res/icon/ios/icon-small-40.png" width="40" height="40"/>
<icon src="res/icon/ios/icon-small-40@2x.png" width="80" height="80"/>
<icon src="res/icon/ios/icon-small-40@3x.png" width="120" height="120"/>
<icon src="res/icon/ios/icon-small-50.png" width="50" height="50"/>
<icon src="res/icon/ios/icon-small-50@2x.png" width="100" height="100"/>
<icon src="res/icon/ios/icon.png" width="57" height="57"/>
<icon src="res/icon/ios/icon@2x.png" width="114" height="114"/>
<icon src="res/icon/ios/icon-60.png" width="60" height="60"/>
<icon src="res/icon/ios/icon-60@2x.png" width="120" height="120"/>
<icon src="res/icon/ios/icon-60@3x.png" width="180" height="180"/>
<icon src="res/icon/ios/icon-72.png" width="72" height="72"/>
<icon src="res/icon/ios/icon-72@2x.png" width="144" height="144"/>
<icon src="res/icon/ios/icon-76.png" width="76" height="76"/>
<icon src="res/icon/ios/icon-76@2x.png" width="152" height="152"/>
<icon src="res/icon/ios/icon-167.png" width="167" height="167"/>
<icon src="res/icon/ios/icon-83.5@2x.png" width="167" height="167"/>
<!--  Storyboard portrait  -->
    <splash src="res/screen/ios/Default@2x~iphone~anyany.png"/>
<splash src="res/screen/ios/Default@2x~iphone~comany.png"/>
<splash src="res/screen/ios/Default@3x~iphone~anyany.png"/>
<splash src="res/screen/ios/Default@3x~iphone~comany.png"/>
<splash src="res/screen/ios/Default@2x~ipad~anyany.png"/>
<splash src="res/screen/ios/Default@2x~ipad~comany.png"/>
    <platform name="wp8">
        <icon height="99" platform="wp8" src="res/icon/wp8/ApplicationIcon.png" width="99" />
        <icon height="159" platform="wp8" src="res/icon/wp8/Background.png" width="159" />
        <splash height="1280" platform="wp8" src="res/screen/wp8/screen-portrait.jpg" width="768" />
    <platform name="windows">
        <icon height="150" platform="windows" src="res/icon/windows/Square150x150Logo.scale-100.png" width="150" />
        <icon height="30" platform="windows" src="res/icon/windows/Square30x30Logo.scale-100.png" width="30" />
        <icon height="50" platform="windows" src="res/icon/windows/StoreLogo.scale-100.png" width="50" />
        <splash height="300" platform="windows" src="res/screen/windows/SplashScreen.scale-100.png" width="620" />
        <icon height="120" platform="windows" src="res/icon/windows/StoreLogo.scale-240.png" width="120" />
        <icon height="44" platform="windows" src="res/icon/windows/Square44x44Logo.scale-100.png" width="44" />
        <icon height="106" platform="windows" src="res/icon/windows/Square44x44Logo.scale-240.png" width="106" />
        <icon height="70" platform="windows" src="res/icon/windows/Square70x70Logo.scale-100.png" width="70" />
        <icon height="71" platform="windows" src="res/icon/windows/Square71x71Logo.scale-100.png" width="71" />
        <icon height="170" platform="windows" src="res/icon/windows/Square71x71Logo.scale-240.png" width="170" />
        <icon height="360" platform="windows" src="res/icon/windows/Square150x150Logo.scale-240.png" width="360" />
        <icon height="310" platform="windows" src="res/icon/windows/Square310x310Logo.scale-100.png" width="310" />
        <icon height="150" platform="windows" src="res/icon/windows/Wide310x150Logo.scale-100.png" width="310" />
        <icon height="360" platform="windows" src="res/icon/windows/Wide310x150Logo.scale-240.png" width="744" />
        <splash height="1920" platform="windows" src="res/screen/windows/SplashScreenPhone.scale-240.png" width="1152" />
    <platform name="android">
        <allow-intent href="market:*" />
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
    <allow-navigation href="http://*/*" />
    <allow-navigation href="https://*/*" />

    <!-- Default splash screen -->
<splash src="splash.png" />
    <feature name=""/>

I doubt if the problem is caused by VoltBuilder. We take your project pretty much as is and feed it to the Cordova libraries, which in turn use Xcode.

You need a Mac to run the Safari Web Inspector. There’s a bit more information here. It’s still your best clue as to what is going wrong.

I’m not sure what these lines are intended to do:

         <preference name="cordova-ios" version="4.5.4" />
      <preference name="phonegap-version" value="cli-9.0.0" />

As these preferences are not documented in Cordova, I’m guess they are ignored.

It’s gotta be soemthing with the build. My old build is working jsut fine. Is there anyway I can use the builder from early Aug. add a tag in the config to build it with that version?

Everything I’m testing in Browser Stack Appview leans that way.

As I said, there have been major updates to cordova-ios, due to changes in Apple’s requirements.

You can build with an older version, but it won’t be approved by Apple.