Software Archive
Read-only legacy content
17061 讨论

Build fails with no identity found? Please help.,

Peter_S_4
初学者
853 次查看

HI

I have used XDK for over a year now without any real issues, and I believe I am familiar with the build process.

However today when trying to make a new build for a client on IOS I keep getting the error 

no identity found

Command /usr/bin/codesign failed with exit code 1

I have created a new CSR and uploaded it to apple to get a new certificate.

I have created new provisional profiles , as IOS Distribution and then options - App Store and Add hoc, after which i have added them into xdk build settings.

The app ID matches that as per the current live app in store and has not changed.

The only thing that has changed is the users account expired with apple, so they renewed the developer license recently, otherwise checking all other settings online and everything is active.

I am completly lost now as to what could be causing this?

Thanks for any support on this.

 

 

0 项奖励
5 回复数
John_H_Intel2
员工
853 次查看

When you say you created a new CSR, how did you do this? Did you download it from the Build tab in the XDK? You must download this CSR and upload it to apple, get your cert and then renew your provisioning profile, download it, and specify it in the XDK Project Build settings.

 

0 项奖励
Kevin_L_3
初学者
853 次查看

I experienced this also. I wanted to do a test iOS build (having previously been using a production distribution certificate and provisioning profile). I downloaded the CSR from the build tab, generated a new certificate, generated a new provisioning profile with the appropriate app id, and kept getting the same issue failed with exit code 1. This was the case when I created a new app so as to not to be confused with the production profile  one. So to reitererate the steps: new app, new CSR, new development certificate, new app id, new development provisioning profile - everything that we've done before but build failed with exit code 1. Any ideas?

0 项奖励
Peter_S_10
初学者
853 次查看

Hi 

 

 

 

 

Yes i generated it from the intelxdk, added to a new apple certificate which is now used. I also then use the certificate for new provisional profiles.

Can you confirm is this error is something xdk simply passes through from apple, or is this an xdk raised error.

I wonder if its an apple bug with renewing a developer licenese on an exsisting app? 

I found on xcode someone fixed it refreshing provisional profiles, 

http://stackoverflow.com/questions/26376166/e79cddb501b68e74ddf03ea4e75246a7fdf010d0-no-identity-found-command-usr-bin-cod

Does xdk cache anything that does not refresh??

 

0 项奖励
Amrita_C_Intel
853 次查看

You can try removing cache and see if it works. this documentation provides more description 

https://software.intel.com/en-us/xdk/blog/remove-xdk-local-data

0 项奖励
Peter_S_4
初学者
853 次查看

Well I just tried a manual cache folders as you suggested and it fixed it :)

So perhaps does XDK cache some user ID / profile relationship based on the provisional profiles or certificates and not refresh this when you add new provisional profiles and certificates? The issue been the user / developer ID with apple was renewed , so perhaps the cache was refering to an old code or something that changed.

 

 

0 项奖励
回复