How To Build IOS App with Intel XDK

No comments
I am an active Intel XDK developer with an Apple account as well as Android and Windows. With the Intel XDK you develop your IOS app on Windows or Linux up until you submit the IPA bundle to the App Store for review. You don't need a developer's account until you are ready to build IPA (iPhone build from the Intel XDK), because you need to download the CSR from the Intel XDK IOS build panels and then log into your Apple Developer's account to create an App Store distribution certificate for each IOS app you will be building/submitting. Then download the certificate, include in your Intel XDK project, then upload and build your IPA bundle. The IPA is Apple's bundle as APK is for Android. Here are the steps to build an IPA from the Intel XDK. Click the Build IOS from Intel XDK build tab, the project will be uploaded. When at the Build Screen, don't click Build button, instead click the Ceritifcate edit. Download the CSR, by clicking the download button and save to your desktop. Log into your Apple account at http://developer.apple.com and click Member Center. Create a new account or log into your existing account Click on Certificates, Identifies, & Profiles Click on Certificates Click the Plus button to add a certificate Choose the App Store and Ad Hoc radio button under Production and click Continue. Click Continue again to the Upload your CSR. Now upload the CSR that you downloaded from the Intel XDK build. Once uploaded, click Generate Now click download and save your certificate to your desktop. Back in the Intel XDK, click on browse to upload your new certificate you just downloaded. You cannot build yet because there is no provisioning profile associated with this app. Cancel the build. Go back to your Apple Developer account, and select the App ID's from the left menu, and press the plus button to add a new App ID. Give the App ID a name and a bundle id, the bundle id you will use in the Intel XDK build settings for the App ID. Press Continue followed by Submit. Now select Provisioning Profiles in your Apple developer account, Choose Distribute->App Store and press continue, From the select field, choose the App Id you just create and press continue, Now choose the certificate you just created, and press continue. Give the provisioning profile a name and press Generate Now download your new provisioning profile and save to your Intel XDK project directory under the www subdirectory. THIS IS VERY IMPORTANT. From the Intel XDK on the Build Settings, select IOS tab, and locate the Provisioning Profile selection and choose production, Now click on the Provisioning Profile File and the Add dialog popup appears, then choose the provisioning profile file you just download. You must select from the project www subdirectory. Go back to the build tab, if a previous build page is showing, close that build page, and choose IOS build. Then choose Upload Project, VERY IMPORTANT! as you have new changes which include a provisioning profile. Make sure you App ID in the build settings match the Developer bundle id. Also the CFBundleIdentifier can be set to the version number of the app. When the Build Now page is showm, press the Build button and the Intel servers will build your IPA file. Upon a successful build, download the IPA to your desktop. Now log into your Apple developer account, and choose the ITunes Connect option. From Itune connect, you must create a new App by choosing My App and then clicking the plus button to add a new App. IMPORTANT: choose the IOS platform and the app you are deploying from the Bundle ID, as well as a Name and language. Then press create. You app is ready to receive the previously created IPA. From up til now, you did not need a mac, but to upload the IPA you need a MAC. Copy your recently created IPA to flash drive, or network drive like dropbox, that your mac can also access. If you do not have a mac, there is a service called www.macinacloud.com. If you plan on developing many IOS apps, it is worth buying at least a Mac Mini Intel-edition, not power-pc version. From your MAC, launch the Application Loader and choose your IPA file. You will receive a successful confirmation of the upload. Wait about several minutes, then go back to ITunes connect. Choose you App, and scroll down to the Build section, you should see the newly upload IPA with a version number. Select this IPA, and complete the remaining form for the App to prepare to submit for review. source : http://stackoverflow.com/questions/32596622/how-to-build-a-hybrid-app-with-intel-xdk-for-ios-running-dev-without-owning-an

No comments :

Post a Comment