9 Replies Latest reply on Jun 9, 2017 2:21 PM by vangroover

    Problems when building for app store

    gerardm34543581 Level 1

      Hello,

       

      This week we are having problems when building an app for app store. Everything works well, the app works well on the device, but we cannot publish it, phonegap changes our specified app id in config.xml for "io.cordova.helloCordova".

       

      Also we tried to rebuild an old app, that has been built and published successfully in the past (a few weeks ago), without doing any change and the app id gets replaced as well.

       

      Can you take a look to the builder for iOS? We need to publish our app asap, thanks!

        • 1. Re: Problems when building for app store
          kerrishotts Adobe Community Professional

          What does your config.xml look like (sans identifying/private info)? Also what's your App ID so that Adobe staff can take a look?

          • 2. Re: Problems when building for app store
            gerardm34543581 Level 1

            Hello,

             

            The app id is: 2632789

             

            Bellow is my config.xml (just changed the app name and identifier). Do you see anything wrong?

             

            <widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="net.mydomain.app" version="1.0.0">

              <name>AppName</name>

              <description>AppName</description>

             

             

              <content src="index.html"/>

             

              <gap:platform name="ios" />

             

             

              <preference name="orientation" value="portrait" />

              <preference name="target-device" value="universal" />

              <preference name="prerendered-icon" value="true" />

              <preference name="detect-data-types" value="false" />

              <preference name="fullscreen" value="false" />

             

              <preference name="ShowSplashScreenSpinner" value="false" />

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

              <preference name="SplashScreenDelay" value="0" />

              <preference name="FadeSplashScreenDuration" value="0"/>

             

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

             

              <preference name="webviewbounce" value="false" />

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

             

              <gap:plugin name="org.apache.cordova.dialogs" source="npm" />

              <gap:plugin name="org.apache.cordova.globalization" source="npm" />

              <gap:plugin name="cordova-plugin-network-information" source="npm" />

              <gap:plugin name="cordova-plugin-whitelist" source="npm" />

              <gap:plugin name="cordova-plugin-inappbrowser" source="npm" />

              <gap:plugin name="cordova-plugin-splashscreen" source="npm" />

              <gap:plugin name="pushwoosh-pgb-plugin" source="npm" />

             

             

              <!-- iPhone -->

              <icon src="res/icon/ios/icon-60.png" platform="ios" width="60" height="60" />

              <icon src="res/icon/ios/icon-60@2x.png" platform="ios" width="120" height="120" />

              <icon src="res/icon/ios/icon-60@3x.png" platform="ios" width="180" height="180" />

              <icon src="res/icon/ios/icon.png" platform="ios" width="57" height="57" />

              <icon src="res/icon/ios/icon@2x.png" platform="ios" width="114" height="114" />

              <!-- iPad -->

              <icon src="res/icon/ios/icon-72.png" platform="ios" width="72" height="72" />

              <icon src="res/icon/ios/icon-72@2x.png" platform="ios" width="144" height="144" />

              <icon src="res/icon/ios/icon-76.png" platform="ios" width="76" height="76" />

              <icon src="res/icon/ios/icon-76@2x.png" platform="ios" width="152" height="152" />

              <icon src="res/icon/ios/icon-83.5@2x.png" platform="ios" width="167" height="167" />

              <!-- iPad Spotlight and Settings Icon -->

              <icon src="res/icon/ios/icon-50.png" platform="ios" width="50" height="50" />

              <icon src="res/icon/ios/icon-50@2x.png" platform="ios" width="100" height="100" />

              <!-- Settings Icon -->

              <icon src="res/icon/ios/icon-small.png" platform="ios" width="29" height="29" />

              <icon src="res/icon/ios/icon-small@2x.png" platform="ios" width="58" height="58" />

              <icon src="res/icon/ios/icon-small@3x.png" platform="ios" width="87" height="87" />

              <!-- Spotlight Icon -->

              <icon src="res/icon/ios/icon-40.png" platform="ios" width="40" height="40" />

              <icon src="res/icon/ios/icon-40@2x.png" platform="ios" width="80" height="80" />

              <icon src="res/icon/ios/icon-40@3x.png" platform="ios" width="120" height="120" />

             

             

              <!-- iPhone and iPod touch -->

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

              <splash src="splash/Default@2x.png" platform="ios" width="640" height="960" />

              <!-- iPhone 5 / iPod Touch (5th Generation) -->

              <splash src="splash/Default-568h@2x.png" platform="ios" width="640" height="1136" />

              <!-- iPhone 6 -->

              <splash src="splash/Default-667h@2x.png" platform="ios" width="750" height="1334" />

              <splash src="splash/Default-Portrait-736h@3x.png" platform="ios" width="1242" height="2208" />

              <splash src="splash/Default-Landscape-736h@3x.png" platform="ios" width="2208" height="1242" />

              <!-- iPad -->

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

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

              <!-- Retina iPad -->

              <splash src="splash/Default-Portrait@2x.png" platform="ios" width="1536" height="2048" />

              <splash src="splash/Default-Landscape@2x.png" platform="ios" width="2048" height="1536" />

             

             

              <access origin="*"/>

              <allow-navigation href="*" />

             

            </widget>

            • 3. Re: Problems when building for app store
              kerrishotts Adobe Community Professional

              I don't see anything there that would cause an ID change.. BUT a thought occurred to me. Make sure that you aren't uploading any /plugins or /platforms directories alongside your app -- that might confuse matters. Also make sure there's only one config.xml file in your zip.

              • 4. Re: Problems when building for app store
                gerardm34543581 Level 1

                Hello,

                 

                Nope, I haven't any of this folders or duplicated config, here is an screenshot:

                 

                Captura de pantalla 2017-06-06 a las 10.26.32.png

                 

                The strange thing is that the same error is occuring with an old app that has been built correctly some weeks ago, just hiting the rebuild button, without uploading anything...

                 

                Any idea?

                 

                Thanks!

                • 5. Re: Problems when building for app store
                  vangroover Adobe Employee

                  whats app id # on phonegap build is the app causing this error?

                  • 6. Re: Problems when building for app store
                    gerardm34543581 Level 1


                    Hello, the app id is 2632789

                     

                    Thanks!

                    • 7. Re: Problems when building for app store
                      gerardm34543581 Level 1

                      hi, vangroover kerrishotts or another mod, can you take a look? we need to publish asap, thanks!

                      • 8. Re: Problems when building for app store
                        kerrishotts Adobe Community Professional

                        Sorry; I don't see anything specific that would be causing your issue. I'm not staff, so I can't look at the internals of your app.

                         

                        I do see that you aren't pinning a CLI version (see https://build.phonegap.com/current-support ). It might be worth doing so and then trying older versions until you get something that works. No guarantees there, but might get you something that you can submit.

                        • 9. Re: Problems when building for app store
                          vangroover Adobe Employee

                          i notice the build is working for that app, did the problem get resolved?