Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ronnie_G_
Beginner
59 Views

Code Sign Error When Building

Jump to solution

Greetings

 

I'm trying to compile the sample template provided for the in-app purchase. I've removed all other plugins and get a compile error. The build log is here: http://pastebin.com/wT1Tfx8Y it is also attached to this post

 

It mentions a code sign error at the bottom. CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.0'

 

Things I've tried

-I've checked that the certificates are current - the app ID matches what is in the apple developer account.

-I have the ad-hoc provisioning profile .mobileprovision in the WWW folder and included in the "ad-hoc" build settings

-I've tried downgrading to CLI 4.1.2 as as the build options permit.

 

This is using intel XDK version 2893

Any suggestions? Thanks

Tags (2)
0 Kudos
1 Solution
Swati_S_Intel1
Employee
59 Views

This looks like some mismatch in your certificate and provisioning profile. If you have multiple certificates/provisioning profiles, make sure you are using the same certificate to create your provisioning profile as you used to generate your P12. Also, use use distribution certificate and create provisioning profile for distribution and select adhoc or App store depending on your purpose and based on that select appropriate option in the build setting adhoc/production.

Most likely if you are doing everything right as described above it should fix your issue, if not, try removing XDK cache and some local folders, it seemed to have helped some users. Details on that https://software.intel.com/en-us/xdk/blog/remove-xdk-local-data.

Let me know if none of the above works for you.

View solution in original post

5 Replies
Swati_S_Intel1
Employee
60 Views

This looks like some mismatch in your certificate and provisioning profile. If you have multiple certificates/provisioning profiles, make sure you are using the same certificate to create your provisioning profile as you used to generate your P12. Also, use use distribution certificate and create provisioning profile for distribution and select adhoc or App store depending on your purpose and based on that select appropriate option in the build setting adhoc/production.

Most likely if you are doing everything right as described above it should fix your issue, if not, try removing XDK cache and some local folders, it seemed to have helped some users. Details on that https://software.intel.com/en-us/xdk/blog/remove-xdk-local-data.

Let me know if none of the above works for you.

View solution in original post

Ronnie_G_
Beginner
59 Views

Deleted all certificates and started over from scratch and tried to do as you said.

The error does not appear now, but strangely enough the app still will not build. All I see in the log is error code 0, but I read elsewhere that it is meaningless because it's in even successful build logs. Is this so?

 

The build log is attached. Part of the build page said "The build failed. An error occurred while building the application. Verify your build assets" and "Error: A build error occurred. Check the build log."

John_H_Intel2
Employee
59 Views

Have you tried removing ALL plugins and building to verify it is not one of the plugins causing your app to fail to build?

Swati_S_Intel1
Employee
59 Views

Can you PM your project zip? 

Ronnie_G_
Beginner
59 Views

Hi guys,

 

Thanks for the replies! After a good bit of effort, I started from scratch with a new project and resolved the issue - it was indeed something wrong with the code sign naming as "SWATI S." had said.

 

Thanks

Reply