iOS Intel XDK experiences

0 favourites
From the Asset Store
Shark.io
$49 USD
Shark.io in the sea full of killer sharks, Sunday of life is the game. Who knows what is happening under the sea?
  • Hey everyone, I've been using intel XDK for android for a while now, with great success. But what are the steps to publish to iOS using xdk?

  • Hi,

    I tried many, many times, but I'm still unable to build successfully an iOS app using Intel XDK. All the signing process seem to be correct, I added the provisioning file and stuff, and when building the app here is what I get :

    "

    The build failed.

    An error occurred while building the application. Verify your build assets are correct and try again.

    Building a Cordova 3.5 application.

    The application name is "Healer Quest"

    The package name is "----------------------"

    Will use the provisioning profile for "adhoc"

    Plugin "Device" (org.apache.cordova.device) installed.

    Plugin "SplashScreen" (org.apache.cordova.splashscreen) installed.

    Plugin "AdMob Plugin" installed.

    Plugin "https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.iap#430---------------------46c1" installed.

    Plugin "org.apache.cordova.inappbrowser" installed.

    Targeting iOS version 7.

    Copied HQ_icon6_76.png (76x76) image file to icon-76

    Copied HQ_icon6_152.png (152x152) image file to icon-76fel@2

    Copied HQ_icon6_60.png (60x60) image file to icon-60

    Copied HQ_icon6_120.png (120x120) image file to icon-60fel@2x

    Copied HQ_icon6_180.png (180x180) image file to icon-60fel@3x

    Copied the iPhone 6 Landscape [rablo_games_logo1334.jpg] (1334w x 750h) splash screen to Default-Landscape-667hfel@2x.

    Copied the iPhone 6 Plus Landscape [rablo_games_logo2208.jpg] (2208w x 1242h) splash screen to Default-Landscape-736hfel@3x.

    Copied the iPad Retina Landscape [rablo_games_logo1496.jpg] (2048w x 1496h) splash screen to Default-Landscapefel@2x~ipad.

    Copied the iPad Landscape [rablo_games_logo1024.jpg] (1024w x 748h) splash screen to Default-Landscape~ipad.

    Warning: No splash screen supplied for iPad Retina portrait (1536w x2008h). The default will be provided.

    Warning: No splash screen supplied for iPad portrait (768w x1004h). The default will be provided.

    Warning: No splash screen supplied for iPhone Retina (640w x960h). The default will be provided.

    Warning: No splash screen supplied for iPhone 6 Plus Portrait (1242w x2208h).

    Warning: No splash screen supplied for iPhone (320w x480h). The default will be provided.

    Warning: No splash screen supplied for iPhone 5 (640w x1136h). The default will be provided.

    Warning: No splash screen supplied for iPhone 6 Portrait (750w x1334h).

    An unexpected error occured while attempting to build the application.

    "

    The only errors seem to be the missing splash screens for portrait mode, but I actually added these splashscreen ! (despite my game being played in landscape only)

    Am I missing something?

  • Rable - any chance you can post the full build log? if you want, you can email me ian.maffett at intel.com and I'll be happy to look into it

  • Many thanks for the help, it now builds successfully ! As you highlighted I had to create a mobileprovision from the certificate.

    Didn't know they had to be related to each other !

  • Many thanks for the help, it now builds successfully ! As you highlighted I had to create a mobileprovision from the certificate.

    Didn't know they had to be related to each other !

    Hi Rable could you please explain this? It seems you were missing the provisioning files, but how did you do a build in the XDK without them? Thanks.

  • I've just tried to publish a test app that simply has a single sprite on a layout.

    I've read lots of tutorials. Using XDK v 1621

    I have a Developer account

    I have an app ID, call it com.company.product

    I have a registered device (iPad)

    I have an ad hoc provisioning profile showing the same App ID, 1 certificate and 1 Device

    I have another provisioning profile (how can you tell which is ad hoc or not, only by the name I gave it??) showing the same App ID, 1 Cert and 0 devices

    I have no development provisiong profiles, as per what I've read, but I wouldn't thought I'd need one? (judging by the name)

    In the XDK I created a new project for the test app

    App ID set as above

    Version 1.8.2 (as per my existing Android version)

    Full screen

    Landscape

    iOS target 5

    Provisioning profile Ad hoc

    Ad hoc provisioning profile: set to the adhoc xxx.mobileprovision file

    Production provisioning profile: set to the other xxx.mobileprovision file

    As a first test I did not add any icons or splash screens

    I did not alter the plugins

    Build tab, build, upload

    Build page says iOS CERTIFICATE: Step complete. If i choose Edit, it says 1a: "Your CSR has been generated..." etc. and 1b: Certificate uploaded..." etc.

    I get all warnings about "no images provided" and "no splash screen".. and "An unexpected error occurred"

    Next step I will add icons and splash screens and re test.

    Thanks for any help.

    Edit: added icons and splash screens, got the errors about some further splash screen sizes, so added those images and added them to the 'intelxdk.config.additions.xml' file. No warnings now, just the same error at the end.

    imaffett can I send you the build log?

  • This is still not working for me, please see above.

    edit: I managed to get a test app installed so I should be able to work out my real app

  • Hello

    I've been trying to make this work for a while now but all I get is "The certificate was not created with the Certificate Signing Request."

    I even deleted my certificate and did the steps shown again with a new one but I still get this msg. How do I solve this?

  • I'm about to go out but if the problem is not resolved I'll post something later. Basically I deleted certificate and everything else and started over like you said you did.

  • a tip for you codah is to have the iOS target to 5.1.1 or ells apple will reject it

    I still have no idea what I should do :/ I even created my own CSR on my mac and tried it on windows as I have all the files there but still nothing. why does apple have to be so complicated! On andorid it was so simple

    Edit: well the certificate problem is solved as I exported a p12 file

    now I just got to fix the image problems and see if the last error. be sure you are in the right tab as I accidentally added all images to android instead of iOS and now I have to recreate everything in those sizes lol

  • everything works except one error at the end.

    can someone translate this to English please?

    (1 failure)

    Command finished with error code 65: .../appNameiOS/platforms/ios/cordova/build --release,--device

    Error: .../appNameiOS/platforms/ios/cordova/build: Command failed with exit code 65

    at ChildProcess.whenDone (/Developer/cordova/3.5.0-0.2.7/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)

    at ChildProcess.EventEmitter.emit (events.js:98:17)

    at maybeClose (child_process.js:753:16)

    at Process.ChildProcess._handle.onexit (child_process.js:820:5)

    Edit: ok so the problem is that I had both the ad hoc and the release mobileprovions in the file when I should have used one at a time. Just thought I would write this down for people who might face the same problem

  • a tip for you codah is to have the iOS target to 5.1.1 or ells apple will reject it

    I still have no idea what I should do :/ I even created my own CSR on my mac and tried it on windows as I have all the files there but still nothing. why does apple have to be so complicated! On andorid it was so simple

    Edit: well the certificate problem is solved as I exported a p12 file

    now I just got to fix the image problems and see if the last error. be sure you are in the right tab as I accidentally added all images to android instead of iOS and now I have to recreate everything in those sizes lol

    yep already know about the 5.1.1 thing but I haven't reached that point yet..

    Yes the tab thing is a real trap.

  • So does anyone have orientation successfully locked in their apps? It still does not work for me.

    I tried cranberrygame's screenOrientation plugin but it breaks all touch events so I removed it.

    I have full screen set in both XDK and C2.

    I'm trying to lock my app in portrait.

    Thanks.

  • codah

    Added new plugin and fixed the bug now.

    Change log (2015.3.7)

    Added Phonegap ScreenOrientationLandscape

    :auto lock screen orientation landscape. (fix xdk not locking ios orientation issue)

    just insert into c2 capx

    Thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • everything works except one error at the end.

    can someone translate this to English please?

    (1 failure)

    Command finished with error code 65: .../appNameiOS/platforms/ios/cordova/build --release,--device

    Error: .../appNameiOS/platforms/ios/cordova/build: Command failed with exit code 65

    at ChildProcess.whenDone (/Developer/cordova/3.5.0-0.2.7/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)

    at ChildProcess.EventEmitter.emit (events.js:98:17)

    at maybeClose (child_process.js:753:16)

    at Process.ChildProcess._handle.onexit (child_process.js:820:5)

    Edit: ok so the problem is that I had both the ad hoc and the release mobileprovions in the file when I should have used one at a time. Just thought I would write this down for people who might face the same problem

    I have the same error, Command finished with error code 65. How did you solved this issue? You mentioned that you had both ad hoc and the release mobileprovisions in the file but what do you mean?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)