Software Archive
Read-only legacy content
17061 Discussions

ios - signed by unknown authority

Flemming_P_
Beginner
840 Views


I try to get a .p12 file for my XDk build

Followed this tutorial - https://www.scirra.com/tutorials/1353/how-to-export-and-build-your-games-with-intel-xdk-crosswalkphonegap

and this from Intel - http://www.html5dev-software.intel.com/amdocs/lib/Walkthrough_v1_UploadCSR-ObtainCert.pdf

BUT I got this red line > signed by unknown authority and the export as .p12 file is greyed out

For better explonation Ive done step by step screendump

What am I doing wrong ?

/ Flemming

 

 

0 Kudos
6 Replies
Flemming_P_
Beginner
840 Views

Upps here it is - PLEASE have a look
 

0 Kudos
John_H_Intel2
Employee
840 Views

When you download the ios distribution cer from Apple, you need to provide that to XDK, not to the keychain tool. Click the build button, iOS, Edit (step 1) and upload your cer there. Make sure you used the file that you can download  on this page to generate your cer.

0 Kudos
Flemming_P_
Beginner
840 Views

HI JOHN

Thanks … I done a lot google search and found this guys tutorial :-) AND has my game running for test on my iPad.

BUT have 2 Issues  

1. The icon is a Cordova default icon and not the ones I've put in XDK 

2. NO sound - can be a Construct 2 problem

 

Here the tutor link that helped me out  https://www.youtube.com/channel/UC_bqytdPTZklSPdb1qXC68A

Regards
Flemming

 

0 Kudos
John_H_Intel2
Employee
840 Views

Glad you got things figured out.

1. The icon is a Cordova default icon and not the ones I've put in XDK 

Did you give the XDK all the icons it required? What iOS is your iPad? Its possible that if its iOS 6 or less, you might need to give it additional icons via the additions file. https://software.intel.com/en-us/html5/articles/adding-special-build-options-to-your-xdk-cordova-app-with-the-intelxdk-config-additions-xml-file
0 Kudos
Flemming_P_
Beginner
840 Views

OKAY... updated the ipad2 to 8.01 and now it shows

Could you please tell me what the difference is in cordova build vs Legasy

Also why is it not keeping the portrait-mode as set in build

 

 

0 Kudos
John_H_Intel2
Employee
840 Views

iOS 6 required different icon sizes that newer version of iOS do not require. You can manually specify them in the additions file. We dont require them because iOS 7+ is on more than 97% of iOS devices.

The difference between Cordova and Legacy is HUGE. The Legacy builds are very handicapped. You have to write your own plugins and you are very limited, unless you know how to write your own custom plugins (many do not). The Cordova builds make use of an existing repo of cordova plugins that you can use. All you need to do is follow each plugins documentation and you can then add the corresponding code to your app to do whatever it is that you want to do.

What portrait mode are you referring to? If its in the project settings, that might only be for the splash screen. If you are trying to lock you app to portrait, you can include the intel device plugin, then use the following command

 intel.xdk.device.setRotateOrientation("portrait");

0 Kudos
Reply