15 Replies Latest reply on Feb 20, 2017 1:10 PM by vangroover

    build in ios - phonegap issue....

    patrickf86001286

      Hi all together!

       

      we are trying to make an IOS build, but p12 and provision file dont work, your system says.

       

      we made 1:1 the steps how phonegap it want to make p12 and provision file.

       

      inspide of we get red message all the time.

       

       

      Info: 4 month ago we created p12 and provision file which worked in phonegap, means IOS app was build successfuly, right now, this 1:1 same keys, dont work anymore too...that is also weird.

       

      Plz help us, we are really sad/desperate already...

       

      for phonegap support --> App ID1809556  (there are 3 keys there, 1102 is original one which worked already, other 2 are fresh ones...)

       

       

      thank you so much in upfront!

        • 1. Re: build in ios - phonegap issue....
          kerrishotts Adobe Community Professional

          Are you using a wildcard in this process? What kind of distribution are you aiming for (ad-hoc, enterprise, app store)?

          • 2. Re: build in ios - phonegap issue....
            patrickf86001286 Level 1

            Hi kerrishotts,

             

            Thanks so much for helping us.

             

            We have developer license and we put the UDID Id from device...rest we do process like in documentation of phonegap describted...

             

            So what we are doing wrong? Could you make the keys...we would pay for help too...

             

            Sincerly patrick

            • 3. Re: build in ios - phonegap issue....
              vangroover Adobe Employee

              can you please build your app again and reproduce the error so we can troubleshoot.

              • 4. Re: build in ios - phonegap issue....
                patrickf86001286 Level 1

                Hi Mr. vangroover,

                 

                thanks for supporting us.

                 

                I just made the rebuild right now.

                 

                Same error by ios, i used one of our new generated keys.

                 

                for staff --> App ID1809556  (there are 3 keys there, 1102 is original one which worked already, other 2 are fresh ones.

                 

                i hope here soon from you, thank you in upfront.

                • 5. Re: build in ios - phonegap issue....
                  vangroover Adobe Employee

                  can you please rebuild app 1809556 so we can troubleshoot. the build log for the last build shows the key is still locked.

                  • 6. Re: build in ios - phonegap issue....
                    patrickf86001286 Level 1

                    Hi vangroover,

                     

                    thanks for help.

                     

                    I just made the rebuild and inserted the password by the signing key...then the lock is there...see here.

                     

                    phonegap.png

                    • 7. Re: build in ios - phonegap issue....
                      vangroover Adobe Employee

                      none of those keys are linked to the app 1809556. is that the correct app id # to replicate your issue? 

                      do you have another app id # of an app that can replicate your issue with one of those 3 certs linked to your account?

                      • 8. Re: build in ios - phonegap issue....
                        patrickf86001286 Level 1

                        Hi, no. Sry. We use that keys only in that app and we only use phonegap for that project....can i call you or mail you my credentials...we have here already an pressure to make the build...

                         

                        Thank you

                        • 9. Re: build in ios - phonegap issue....
                          patrickf86001286 Level 1

                          Hi mr. vangroover,

                           

                          attached you see, i made new phonegap account, uploaded p12, provision file and latest zip....still issue is there....

                           

                          you see there also the app id.

                           

                          Screenshot_2017-02-14-13-23-59.png

                           

                          May you can check that...

                           

                          Can i contact you somewhere else too for help? Per Mail? I can send you p12, provision file, zip and my IOS Developer Login and UDID ID, if you wanna try to make p12 file, etc yourself....

                           

                          We really dont know what we do wrongly....

                           

                          Thanks in upfront for your help...

                          • 10. Re: build in ios - phonegap issue....
                            gnanaprakashmarimuthu

                            You need to add some lines in config.xml, after added all plugins.

                            <plugin name="cordova-plugin-globalization"  source="npm" spec="1.0.1" />

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

                            • 11. Re: build in ios - phonegap issue....
                              patrickf86001286 Level 1

                              Hi,

                               

                              i updated config.

                               

                              The weird issue is, that in both phonegap accounts, with 1:1 same key and zip uploading, different errors are coming.

                               

                              on new account, what i made comes that certifcate doesnt match, on the old account comes just that key is unlocked, so i m very confused.

                               

                              i ask plz really to phonegap staff to look into that, to help us, we are desperate here, we find no solution simple

                               

                               

                              Here our config:

                               

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

                                <name>compare</name>

                                <description>Hello World sample application that responds to the deviceready event.</description>

                                <author href="http://phonegap.com" email="support@phonegap.com">PhoneGap Team</author>

                                <content src="index.html"/>

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

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

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

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

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

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

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

                                <preference name="ios-statusbarstyle" value="black-opaque"/>

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

                                <preference name="exit-on-suspend" value="false"/>

                                <preference name="show-splash-screen-spinner" value="true"/>

                                <preference name="auto-hide-splash-screen" value="true"/>

                                <preference name="disable-cursor" value="false"/>

                                <preference name="android-minSdkVersion" value="14"/>

                                <preference name="android-installLocation" value="auto"/>

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

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

                                <plugin name="cordova-plugin-media-capture" spec="~1.4.1" />

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

                                <plugin name="cordova-plugin-contacts" spec="~2.2.1" />

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

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

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

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

                                <plugin name="cordova-plugin-file" spec="~4.3.1" />

                                <plugin name="cordova-plugin-file-transfer" spec="~1.6.1" />

                                <plugin name="cordova-plugin-geolocation" spec="~2.4.1" />

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

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

                                <plugin name="cordova-plugin-media" spec="~2.4.1" />

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

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

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

                                <plugin name="cordova-plugin-globalization"  source="npm" spec="1.0.1" />

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

                                <icon src="icon.png"/>

                                <icon src="www/res/icon/android/icon-36-ldpi.png" gap:platform="android" gap:qualifier="ldpi"/>

                                <icon src="www/res/icon/android/icon-48-mdpi.png" gap:platform="android" gap:qualifier="mdpi"/>

                                <icon src="www/res/icon/android/icon-72-hdpi.png" gap:platform="android" gap:qualifier="hdpi"/>

                                <icon src="www/res/icon/android/icon-96-xhdpi.png" gap:platform="android" gap:qualifier="xhdpi"/>

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

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

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

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

                                <icon src="www/res/icon/ios/icon-57-2x.png" gap:platform="ios" width="114" height="114"/>

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

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

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

                                <icon src="www/res/icon/windows-phone/icon-173-tile.png" gap:platform="winphone" gap:role="background"/>

                                <gap:splash src="www/res/screen/android/screen-ldpi-portrait.png" gap:platform="android" gap:qualifier="port-ldpi"/>

                                <gap:splash src="www/res/screen/android/screen-mdpi-portrait.png" gap:platform="android" gap:qualifier="port-mdpi"/>

                                <gap:splash src="www/res/screen/android/screen-hdpi-portrait.png" gap:platform="android" gap:qualifier="port-hdpi"/>

                                <gap:splash src="www/res/screen/android/screen-xhdpi-portrait.png" gap:platform="android" gap:qualifier="port-xhdpi"/>

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

                                <gap:splash src="www/res/screen/ios/screen-iphone-portrait.png" gap:platform="ios" width="320" height="480"/>

                                <gap:splash src="www/res/screen/ios/screen-iphone-portrait-2x.png" gap:platform="ios" width="640" height="960"/>

                                <gap:splash src="www/res/screen/ios/screen-iphone-portrait-568h-2x.png" gap:platform="ios" width="640" height="1136"/>

                                <gap:splash src="www/res/screen/ios/screen-ipad-portrait.png" gap:platform="ios" width="768" height="1024"/>

                                <gap:splash src="www/res/screen/ios/screen-ipad-landscape.png" gap:platform="ios" width="1024" height="768"/>

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

                                <access origin="*"/>

                                <plugin name="cordova-plugin-whitelist" version="1"/>

                                <allow-intent href="http://*/*"/>

                                <allow-intent href="https://*/*"/>

                                <allow-intent href="tel:*"/>

                                <allow-intent href="sms:*"/>

                                <allow-intent href="mailto:*"/>

                                <allow-intent href="geo:*"/>

                                <platform name="android">

                                  <allow-intent href="market:*"/>

                                </platform>

                                <platform name="ios">

                                  <allow-intent href="itms:*"/>

                                  <allow-intent href="itms-apps:*"/>

                                </platform>

                              </widget>

                               

                              Plz help us:

                               

                              kerrishotts

                              PhoneGap Build

                              vangroover

                               

                              Here the 2 accounts, with 1:1 same zip file and signing key...so weird....

                              telberia_1.png

                              telberia_2.png

                              • 12. Re: build in ios - phonegap issue....
                                vangroover Adobe Employee

                                2480089 - this error is correct and the p12 key is not linked to the mobile provision included.  you may have to export the mobile provision again after linking the certificate to the mobile provision on the apple develoiper console

                                 

                                1809556 - this certificate is totally different key and that key is locked.  you have to contact the owner of the account linked to that key to have that key unlocked as you are not the owner of this app, just a collaborator.

                                • 13. Re: build in ios - phonegap issue....
                                  patrickf86001286 Level 1

                                  Hi,

                                   

                                  thanks vangroover to help us.

                                   

                                  2480089 - this error is correct and the p12 key is not linked to the mobile provision included.  you may have to export the mobile provision again after linking the certificate to the mobile provision on the apple develoiper console

                                   

                                  i m doing all like instructed per phonegap documentation, what step or where i m doing wrongly ...

                                   

                                  can i send you my apple id and you can help to generate that p12 and provision file....that would very nice of you and end of up that long issue ....

                                   

                                  thanks, patrick

                                  • 14. Re: build in ios - phonegap issue....
                                    patrickf86001286 Level 1

                                    Hi vangroover!!

                                     

                                    our project is near to cancel, we did all 1:1 correct, but it dont work simple! we expect here little bit more help. our complete app is near to collapse because we dont get this damn build online correct....always says same in

                                     

                                    app id 2480089

                                     

                                    we can give you apple login and you can try self, it s not working....

                                    • 15. Re: build in ios - phonegap issue....
                                      vangroover Adobe Employee

                                      i can confirm your cert can not be opened with the password you specified.

                                       

                                      can you confirm you can open the p12 in the uploaded zip file with the specified password?

                                       

                                      maybe try exporting and uploading again from your keychain with a different password.