Certificate Not Installed Problem When Build For Device

I am trying to test my app on IOS device. 

Following the steps I created a certificate and install it in keychain Access, I then install provisioning profile but when I started to build it for device, it showed profiles in dropdown menu of certificate signing identity but not let me select them by mentioning that certificate is not installed.

Is there any thing else I need to do??

Thanks in Advance 

Hi @ansaf_130,

Did you follow through every step in the following guide?

http://docs.coronalabs.com/guide/distribution/iOSBuild/index.html

Even with this in mind, setting up iOS provisioning can be tricky, and many developers still have issues with it. I suggest you just start over with the entire process, confirm every step, and then restart Corona and see if the certificate is an option.

Sincerely,

Brent Sorrentino

The problem was that I am a apple developer as a team member of my company. My certificate was not checked by my team agent while creating the development provisioning profile.

Now I am getting the profile option in dropdown menu of code signing identity but now the problem is when I start the build and when the process get started (after waiting some seconds in queue)

this line appears in terminal and build process keeps on running without showing any error.

[lua]*** -[NSPlaceholderString initWithUTF8String:]: NULL cString[/lua]

Can you help me what I am missing now?

This problem has been solved by creating a new provisioning profile and now I am able to build for IOS devices but when I tried to install the application using iphone Configuration Utility on my ipad, it says

" application does not have a valid signature"

Can someone here help me

Hi @ansaf_130,

Are the certificates on your iPad in sync with all of your certificates in the Apple Developer Portal? You should probably remove all certificates from the iPad manually and then re-sync, then ensure that they are copied over to the iPad too, and that they match exactly (name, date of expiration, etc.). To view them or delete them from the actual iPad, go to:

Settings > General > Profile(s)

Also, did you try to install using XCode or iTunes instead of the other method? See the following guide under “Device Installation”.

http://docs.coronalabs.com/guide/distribution/iOSBuild/index.html

I know this is a frustrating process and remains so for many, but it seems like you’re almost there. :slight_smile:

Brent

Thanks for showing concern

How can I sync certificates manually in my iPad.

My team agent has already add my ipad to the devices and my certificate to the provisioning profile that I am using.

But as you said I am unable to see my certificate in Settings > General > Profiles.

How can I install my certificate in that device.

Yes this process is far frustrating but I guess It can be done if proper guidance is provided :) 

I have installed provisioning profile in Ipad, is there any need to install certificate as well?

If yes then how?

I think that I have completed all the necessary steps involved in testing app on device

certificate creation

creating provisioning profile 

addition of device to this profile

installing profile to device through xcode

now my device has my profile in Settings > General > Profiles

still I am getting 

" application does not have a valid signature"

now what else I need to do to make all this work?

Hi @ansaf_130,

Are you building this app from your own computer, and do you have any control of the Apple account? Have you restarted the Corona Simulator and built the app using the proper profile from the pull-down, the same that matches the one on your iPad? Did you permanently remove any previous version (and data) from the device before trying to install it again?

Hi @ansaf_130,

Did you follow through every step in the following guide?

http://docs.coronalabs.com/guide/distribution/iOSBuild/index.html

Even with this in mind, setting up iOS provisioning can be tricky, and many developers still have issues with it. I suggest you just start over with the entire process, confirm every step, and then restart Corona and see if the certificate is an option.

Sincerely,

Brent Sorrentino

The problem was that I am a apple developer as a team member of my company. My certificate was not checked by my team agent while creating the development provisioning profile.

Now I am getting the profile option in dropdown menu of code signing identity but now the problem is when I start the build and when the process get started (after waiting some seconds in queue)

this line appears in terminal and build process keeps on running without showing any error.

[lua]*** -[NSPlaceholderString initWithUTF8String:]: NULL cString[/lua]

Can you help me what I am missing now?

This problem has been solved by creating a new provisioning profile and now I am able to build for IOS devices but when I tried to install the application using iphone Configuration Utility on my ipad, it says

" application does not have a valid signature"

Can someone here help me

Hi @ansaf_130,

Are the certificates on your iPad in sync with all of your certificates in the Apple Developer Portal? You should probably remove all certificates from the iPad manually and then re-sync, then ensure that they are copied over to the iPad too, and that they match exactly (name, date of expiration, etc.). To view them or delete them from the actual iPad, go to:

Settings > General > Profile(s)

Also, did you try to install using XCode or iTunes instead of the other method? See the following guide under “Device Installation”.

http://docs.coronalabs.com/guide/distribution/iOSBuild/index.html

I know this is a frustrating process and remains so for many, but it seems like you’re almost there. :slight_smile:

Brent

Thanks for showing concern

How can I sync certificates manually in my iPad.

My team agent has already add my ipad to the devices and my certificate to the provisioning profile that I am using.

But as you said I am unable to see my certificate in Settings > General > Profiles.

How can I install my certificate in that device.

Yes this process is far frustrating but I guess It can be done if proper guidance is provided :) 

I have installed provisioning profile in Ipad, is there any need to install certificate as well?

If yes then how?

I think that I have completed all the necessary steps involved in testing app on device

certificate creation

creating provisioning profile 

addition of device to this profile

installing profile to device through xcode

now my device has my profile in Settings > General > Profiles

still I am getting 

" application does not have a valid signature"

now what else I need to do to make all this work?

Hi @ansaf_130,

Are you building this app from your own computer, and do you have any control of the Apple account? Have you restarted the Corona Simulator and built the app using the proper profile from the pull-down, the same that matches the one on your iPad? Did you permanently remove any previous version (and data) from the device before trying to install it again?

I installed the most recent public build of Corona last week (mac), but have since renewed my distribution certificate as they had expired. All certificates are valid and listed as such in xCode, but now in Corona I’m no longer able to select my distribution code signing identity when I go to build for iOS. It says ‘(Certificate not installed)…’ I threw out Corona and reinstalled it but on launch it still listed my recent projects so thinking it’s cached my old certificates, or trying to link to files that no longer exist? Is that possible? 

Any suggestions would be appreciated.

Pete

Hi Pete,

Can you do a full removal of Corona and then re-install? That includes going to:

[~] > Library > Application Support

And then removing both the “Corona Simulator” and “Corona” folders.

After that, trash the Corona SDK application folder and re-install. That should remove all history of the previous install.

Best regards,

Brent

Brent

I do that and it still knows my recent projects. Where else could it be storing this info? How can we get a truly clean reinstall?

I also have created some new provisioning profiles (Apple Developer Center) and when trying to build with daily build 2014.2392 I can’t select the profiles from the list because they are listed in grey with the info “Certificate not installed”. But I didn’t do any changes on the Certificates, profiles etc.

Any ideas, what can cause this and how to solve the problem?

Daniela

Hi Daniela,

This issue was caused by an Apple change and we fixed it in build 2393a (be sure and get the “a” one from the download page). Please download that build and things should work as expected.

Brent