Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Certificate Not Installed Problem When Build For Device
Started by ansaf_130 Apr 12 2013 12:43 AM

24 replies to this topic
certificate provisioning profile
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

ansaf_130

[GLOBAL: userInfoPane.html]
ansaf_130
  • Enthusiast

  • 47 posts
  • Corona SDK

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 



[TOPIC: post.html]
#2

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

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



[TOPIC: post.html]
#3

ansaf_130

[GLOBAL: userInfoPane.html]
ansaf_130
  • Enthusiast

  • 47 posts
  • Corona SDK

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.

 

 

*** -[NSPlaceholderString initWithUTF8String:]: NULL cString
 
Can you help me what I am missing now?


[TOPIC: post.html]
#4

ansaf_130

[GLOBAL: userInfoPane.html]
ansaf_130
  • Enthusiast

  • 47 posts
  • Corona SDK

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



[TOPIC: post.html]
#5

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

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. :)

 

Brent

 



[TOPIC: post.html]
#6

ansaf_130

[GLOBAL: userInfoPane.html]
ansaf_130
  • Enthusiast

  • 47 posts
  • Corona SDK

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 :) 



[TOPIC: post.html]
#7

ansaf_130

[GLOBAL: userInfoPane.html]
ansaf_130
  • Enthusiast

  • 47 posts
  • Corona SDK

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?



[TOPIC: post.html]
#8

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

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?



[TOPIC: post.html]
#9

pete21

[GLOBAL: userInfoPane.html]
pete21
  • Observer

  • 4 posts
  • Corona SDK

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



[TOPIC: post.html]
#10

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

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



[TOPIC: post.html]
#11

alecp

[GLOBAL: userInfoPane.html]
alecp
  • Observer

  • 2 posts
  • Corona SDK

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?



[TOPIC: post.html]
#12

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 846 posts
  • Corona SDK

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



[TOPIC: post.html]
#13

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

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



[TOPIC: post.html]
#14

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,660 posts
  • Enterprise

Daniella, please update to 2401.

 

Rob



[TOPIC: post.html]
#15

jan0

[GLOBAL: userInfoPane.html]
jan0
  • Enthusiast

  • 64 posts
  • Corona SDK

I have been pulling hair all day trying to get the grayed out code signing identity to work.  Everything was checked green in the Xcode organizer window and everything appeared okay in the keychain.   

 

I upgraded to build 2401 and everything works!!!    Glad I found Robs post - Thanks!

 

Been waiting to get things up in iOS before making the announcement - things are going well in the Google Play Store - J-



[TOPIC: post.html]
#16

dwallin335

[GLOBAL: userInfoPane.html]
dwallin335
  • Observer

  • 6 posts
  • Corona SDK

Also having this issue. Will 2401 be available to the general public soon?



[TOPIC: post.html]
#17

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,660 posts
  • Enterprise

What version of Corona SDK are you using?  There is a 2393 and a 2393a for Mac users.  The 2393a version does not have this issue.  Make sure you're running that version.



[TOPIC: post.html]
#18

dwallin335

[GLOBAL: userInfoPane.html]
dwallin335
  • Observer

  • 6 posts
  • Corona SDK

Thanks, 2393a fixed the issue - I was running 2393.



[TOPIC: post.html]
#19

SP Technolab

[GLOBAL: userInfoPane.html]
SP Technolab
  • Enthusiast

  • 62 posts
  • Corona SDK

Hi Rob,

 

My code is in graphics 1.0 so i am using build 1202 for this.
Now, i want to install profile(For ios build) but i am getting error "certificate not installed".

So how can i create build in graphics 1.0?

Any updated build for graphics 1.0 with solved this issue?

 

Thanks.



[TOPIC: post.html]
#20

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,660 posts
  • Enterprise

You cannot submit a 1202 built app to iOS any longer.  You have not been able to for some time due to breaking changes Apple has made.  We cannot update the Graphics 1.0 line.  If you want to submit to Apple, you must use public build 2393a or daily build 2401 or later.  That said, we are getting reports that Apple made another change today which make make even those builds have problems.  We are investigating....

 

In your case, since you are an Enterprise subscriber, you should be able to build your app from Xcode which would manage your profiles correctly (though you have to use Xcode 5.1.1 or later). 

 

So if you wish to use Corona SDK to build your apps you must update.  You should be able to get mostly there by adding:

 

graphicsCompatibility = 1

 

to your config.lua where you set the width and height.  If you are dependent on the legacy sprite library you can download it from Github and just drop the sprite.lua in with your main.lua.  Almost everyone who has done this has only had to make a few minor updates to get their app running under Graphics 2.0.

 

It is very impractical to try and maintain older builds of a product and in the environment where our upstream hosts like Apple and Google make changes, we have to react to them and that happens in the latest daily and public builds.

 

Rob



[TOPIC: post.html]
#21

beernathan

[GLOBAL: userInfoPane.html]
beernathan
  • Contributor

  • 357 posts
  • Corona SDK

Hi @RobMiracle - can I confirm that this now makes us unable to build on *any* graphics 1.0 version of Corona SDK if we've updated our certificates recently?

 

I have a massive problem with graphics 1.0 not running correctly (even with compatibility = 1) as per http://forums.coronalabs.com/topic/47664-issues-with-graphicscompatibility-1/.

 

Is this now a drop-dead for graphics 1.0?

 

Thanks,

Nathan.



[TOPIC: post.html]
#22

beernathan

[GLOBAL: userInfoPane.html]
beernathan
  • Contributor

  • 357 posts
  • Corona SDK

This has now become time critical for me - can you please let me know one way or another @RobMiracle?

 

Thanks,

Nathan.



[TOPIC: post.html]
#23

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,660 posts
  • Enterprise

I don't know how I can make this more clear.

 

You cannot build for Apple iOS without using the latest public build (2393a) or daily build 2424 or later.  And as of right now you can't event submit with those builds because Apple is still making changes to their submission process.  It is absolutely impossible to use any older versions for iOS.  Once the submission process settles down and we address any thing else they are going to break, we will put out a new daily build that fixes this and then put out a new public build shortly afterwards that addresses it for the Starter and Basic subscribers.  Since all builds of Graphics 1.0 are older than 2393a, the cannot be used with Apple.

 

For Android, Google has changed the rules for using Advertising Identifiers.  This impacts AdMob and any Ad service using Google Play.  Also there may be core changes that we made around this.  As such, I would not trust using any build older than 2393 for submitting to Google.

 

Samsung requires their SDK's to be included.  You cannot use any Corona SDK build to submit to Samsung.

 

This leaves Amazon, Barnes & Noble and smaller random Android stores as the only place you can publish Graphics 1.0 builds too.

 

Any new provisioning profiles created in the past few weeks absolutely will not work with Graphics 1.0 builds  or any build prior to 2393a (public) and 2407 (daily, though other Apple changes are forcing the use of 2424 or later).

 

Rob



[TOPIC: post.html]
#24

beernathan

[GLOBAL: userInfoPane.html]
beernathan
  • Contributor

  • 357 posts
  • Corona SDK

Thanks @RobMiracle - crystal clear. Time to port!!!



[TOPIC: post.html]
#25

tim12332000

[GLOBAL: userInfoPane.html]
tim12332000
  • Observer

  • 10 posts
  • Corona SDK

so said....




[topic_controls]
[/topic_controls]