Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Build Error in ios platform for Cordova ios Build

ameeduddin_s_
Beginner
602 Views
hello, It been some really long and frustrating days since I been trying to build the HTML5 Cordova application for ios on Intel XDK. Please note the steps that I have followed in doing so.I am using IntelXDK version 1995 Created a project named Demoproject by using a www folder.Then from the standard cordova plugins selected the accelerometer ,camera ,contacts,device ,events,file,file transfer,compass connection ,compass , inapp,media,dialogs,vibration,splash screen. And from the third party plugin I added a geolocation plugin from the repository https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git. In the BUILD SETTINGS tab i changed the APP ID to com.going.joggle which is the bundle identifier of the provisioning profile (development) that i have included in the adhoc provisioning profile section (Set the path in the text box).in the provisioning profile section I selected the adhoc option and changed the APP name to Demoproject which is same as the project name. Then in the Build section in the top most section in the Cordova Hybrid Mobile App Platform i selected the ios Build option and then a prompt appeared and i selected upload existing projects and the a section called Cordova iOS Build appeared in that in the ios certificate section I selected i clicked on the edit button and a popup opened wherein in the upload certificate section I uploaded a p12 file (whose provisioning i had uploaded in the previous step in the project tab)then clicked on the go to next step and selected the BUILD APP NOW.After doing all this a screen appeared that showed The build failed. An error occurred while building the application. Verify your build assets are correct and try again.The log of ios build can be viewed in the link https://am-xdk2.s3.amazonaws.com/cust.3f429325-c2b1-4dd4-af7d-163a7125ef8f/app.eba4014a-918b-4200-9cd2-cac6263b2e53/iphone/build.201505191736.txt?AWSAccessKeyId=ASIAIJ4SESRIEO3S4UWA&Expires=1432023600&x-amz-security-token=AQoDYXdzED4a4APet8phXDlQcWcnjYTrewvShVKPxfOLOeU4da1vCEt6t6ihZdrTBLKtZORncHeJz0b%2Fa1jqThMz2%2FZVV5o%2BGfmOuEcQZe4o2JVK2QCRV5jHJM.... and the build log is as follows Build Log: Building a Cordova 4.1.2 application. The application name is "Demoproject" The package name is "com.going.joggle" Will use the provisioning profile for "adhoc" Plugin "org.apache.cordova.device" (0.2.13) installed. Plugin "org.apache.cordova.splashscreen" (0.3.5) installed. Plugin "org.apache.cordova.device-motion" (0.2.11) installed. Plugin "org.apache.cordova.camera" (0.3.4) installed. Plugin "org.apache.cordova.device-orientation" (0.3.10) installed. Plugin "org.apache.cordova.network-information" (0.2.14) installed. Plugin "org.apache.cordova.contacts" (0.2.15) installed. Plugin "org.apache.cordova.battery-status" (0.2.12) installed. Plugin "org.apache.cordova.file" (1.3.2) installed. Plugin "org.apache.cordova.file-transfer" (0.4.8) installed. Plugin "org.apache.cordova.inappbrowser" (0.5.4) installed. Plugin "org.apache.cordova.media" (0.2.15) installed. Plugin "org.apache.cordova.dialogs" (0.2.11) installed. Plugin "org.apache.cordova.vibration" (0.3.12) installed. Plugin "cordova-plugin-geolocation" (1.0.1-dev) installed. Targeting iOS version 6. Warning: No images provided in the intelxdk.config.xml file... using the defaults. 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 Landscape (2208w x1242h). Warning: No splash screen supplied for iPhone 6 Plus Portrait (1242w x2208h). Warning: No splash screen supplied for iPad Retina Landscape (2048w x1496h). The default will be provided. Warning: No splash screen supplied for iPhone 6 Landscape (1334w x750h). 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). Warning: No splash screen supplied for iPad Landscape (1024w x748h). The default will be provided. An unexpected error occured while attempting to build the application. Please point out if i have missed out anything or do suggest a workaround so that I can build an ios app .Any help in this regard would be vaey helpful.
0 Kudos
2 Replies
John_H_Intel2
Employee
602 Views

A couple things to try:

Switch to iOS 7, Cordova 4.1.2 dropped support for ios 6. 

In your build log is says this 

Check dependencies
Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“ProfileInhouseDistribution”) were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.0'

** BUILD FAILED **

 

That translates to your provisioning profile does not match the cert that you uploaded.

0 Kudos
Ajinkya_M_
Novice
602 Views

Thanks for the solution.

Ya I read this article before i worked on it get successful build.

 

0 Kudos
Reply