Getting a Warning: Your SDK may be out of date b/c following directory could not be found

My Corona account expired from Pro and I just purchased the Basic package.  Upon reinstalling every time I try to upload my any development or provisioning profile to either device I ma getting the same error

No Code Signature Found.  

So I deleted all my certificates(2) and re-created 2 new ones.  A Development and Distribution certificate.

(Request a Certificate from Certificate Authority through Keychain Access)

I even made a new App I.D. and a Developmental Provisioning Profile to go with it for testing.

(Also made valid other profiles)

Xcode - deleted all profiles and downloaded new development provisioning profile to Xcode

Re-downloaded build number 2189a.

Still getting error:  No Code Signature Found.

This is error that prints in terminal:

2014-05-30 15:56:21.514 Corona Simulator[17279:507] WARNING: Could not find certificate for identity (iPhone Distribution: russell mckee) whose user id is: G86P82S543

2014-05-30 15:56:21.640 Corona Simulator[17279:507] WARNING: Could not find certificate for identity (iPhone Distribution: russell mckee) whose user id is: G86P82S543

Using additional build settings from: /Users/russm305/Desktop/worldcup/build.settings

WARNING: Your SDK may be out of date b/c the following SDK directory could not be found:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk

WARNING: Using the following SDK instead:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk

WARNING: Your SDK may be out of date b/c the following SDK directory could not be found:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk

WARNING: Using the following SDK instead:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk

 

 

Any ideas on how I can resolve this will be much appreciated!

You can pretty much ignore the iOS SDK warning messages.  It’s just saying you have a newer SDK and we are looking for a slightly newer one.

As for your real issue, Apple makes this process more difficult than it needs to be.  There are probably more things in Keychain Access that need to be removed.  You need to clean out the Library/MobileDevice/Provisioning Profiles folder under your home directory and probably reboot a few times along the way.  Let Xcode manage as much for you as it can.

The complaint is it’s trying to build a distribution app that doesn’t have a distribution certificate to go with it.

Rob

Thank you so much for your help.  This is harder than corona.  So I went to my home directory and didn’t see Library/MobileDevice/Provisioning Profiles.   see photo.  Also I took photo of the Library file too to show no Mobile Device or Provisioning Profile folder.  Please steer me in the right direction.

Also when you say clean out you mean to remove(drag out)  old expired profiles from  Library/MobileDevice/Provisioning Profiles? 

Thank you!

Apple decided to hide the Library file in Finder starting with 10.8.  I usually do it from the command line using the “cd” or change directory command.  But you can click on your background (to activate the finder), click on Go->Go To Folder and enter:

~/Library/MobileDevice/Provisioning Profiles/

in the dialog box.  The ~/ at the front is important.  Then you should be able to drag all the files to the trash can and them empty the trash.

Rob

@Rob

Thank you for help.  I cleaned out 61 provisioning profiles :slight_smile:

I revoked the Distribution Certificate and created a new one and a new Distribution Provisioning Profile

Still getting error when trying to upload binary.  ERROR ITMS-9000"not signed using Apple submission certificate"

This error comes out in simulator:

 

Created XCENT: /var/folders/0y/8ygdg4zj6yqfqqz825z_b5qm0000gn/T/1401503818/entitlements.xcent

2014-05-30 22:37:28.971 defaults[3082:d07] 

Domain (/Users/russm305/Desktop/SoccerTrivia.app/Info) not found.

Defaults have not been changed.

2014-05-30 22:37:29.021 defaults[3083:d07] 

Domain (/Users/russm305/Desktop/SoccerTrivia.app/Info) not found.

Defaults have not been changed.

Compressing/copying PNG /Users/russm305/Desktop/worldcup/ChartboostSDK/__chartboost_morebtn_off_l.png to /Users/russm305/Desktop/SoccerTrivia.app/ChartboostSDK/__chartboost_morebtn_off_l.png

 

 

 

This no longer shows in simulator:(showed before above)

2014-05-30 15:56:21.514 Corona Simulator[17279:507] WARNING: Could not find certificate for identity (iPhone Distribution: russell mckee) whose user id is: G86P82S543

2014-05-30 15:56:21.640 Corona Simulator[17279:507] WARNING: Could not find certificate for identity (iPhone Distribution: russell mckee) whose user id is: G86P82S543

 

What else can you recommend I do?  I rebooted the simulator and my machine.  Thank you!

When you cleaned out keychain access, did you remove the keys as well as the certificates?  Most people have to completely clean out everything related to their developer account in keychain access.

@Rob good stuff!  haven’t cleaned those out yet.  

Just to be sure I delete all Certificates I created(10)  called iPhone Development and iPhone Distribution and DO NOT delete “Developer ID Certification Authority” or Self-Signed Root Certificate.

Also with the Keys(26)  I just delete the ones I created with my name on them.  DO NOT delete" iMessage Signing Key" or  “iMessage Encryption Key”

Are these statements correct?

After doing this do you recommend revoking and recreating the 2 certificates (developmental and distribution)?  

Thank you!

I would just delete the ones that have your name on them.  Revoke and recreate both development and distribution certificates.

Then under “Keys” get anything with just your name on it, or “iOS developer: your name” and “iOS Distrubtion: your name”.

@ Rob

Holy Cow it worked!!!

Thank you for your help I don’t know where else I could have gotten help with this.  You Rock!!!

Glad it worked for you.

Rob

+1 vote for deleting anything in your keychaing access with your name and developer in it.  I used to manually create certs but recreating them kept producing NO code signature found errors.

I deleted ALL certs, Cleared certs in Mobile Data folder.

Opened Xcode and added my mac and iPhone to Member Central (it created Xcode provisioned certs for me at Apple).

I then created a manual cert for an app that required game thrive push notifications.

All solved.

You can pretty much ignore the iOS SDK warning messages.  It’s just saying you have a newer SDK and we are looking for a slightly newer one.

As for your real issue, Apple makes this process more difficult than it needs to be.  There are probably more things in Keychain Access that need to be removed.  You need to clean out the Library/MobileDevice/Provisioning Profiles folder under your home directory and probably reboot a few times along the way.  Let Xcode manage as much for you as it can.

The complaint is it’s trying to build a distribution app that doesn’t have a distribution certificate to go with it.

Rob

Thank you so much for your help.  This is harder than corona.  So I went to my home directory and didn’t see Library/MobileDevice/Provisioning Profiles.   see photo.  Also I took photo of the Library file too to show no Mobile Device or Provisioning Profile folder.  Please steer me in the right direction.

Also when you say clean out you mean to remove(drag out)  old expired profiles from  Library/MobileDevice/Provisioning Profiles? 

Thank you!

Apple decided to hide the Library file in Finder starting with 10.8.  I usually do it from the command line using the “cd” or change directory command.  But you can click on your background (to activate the finder), click on Go->Go To Folder and enter:

~/Library/MobileDevice/Provisioning Profiles/

in the dialog box.  The ~/ at the front is important.  Then you should be able to drag all the files to the trash can and them empty the trash.

Rob

@Rob

Thank you for help.  I cleaned out 61 provisioning profiles :slight_smile:

I revoked the Distribution Certificate and created a new one and a new Distribution Provisioning Profile

Still getting error when trying to upload binary.  ERROR ITMS-9000"not signed using Apple submission certificate"

This error comes out in simulator:

 

Created XCENT: /var/folders/0y/8ygdg4zj6yqfqqz825z_b5qm0000gn/T/1401503818/entitlements.xcent

2014-05-30 22:37:28.971 defaults[3082:d07] 

Domain (/Users/russm305/Desktop/SoccerTrivia.app/Info) not found.

Defaults have not been changed.

2014-05-30 22:37:29.021 defaults[3083:d07] 

Domain (/Users/russm305/Desktop/SoccerTrivia.app/Info) not found.

Defaults have not been changed.

Compressing/copying PNG /Users/russm305/Desktop/worldcup/ChartboostSDK/__chartboost_morebtn_off_l.png to /Users/russm305/Desktop/SoccerTrivia.app/ChartboostSDK/__chartboost_morebtn_off_l.png

 

 

 

This no longer shows in simulator:(showed before above)

2014-05-30 15:56:21.514 Corona Simulator[17279:507] WARNING: Could not find certificate for identity (iPhone Distribution: russell mckee) whose user id is: G86P82S543

2014-05-30 15:56:21.640 Corona Simulator[17279:507] WARNING: Could not find certificate for identity (iPhone Distribution: russell mckee) whose user id is: G86P82S543

 

What else can you recommend I do?  I rebooted the simulator and my machine.  Thank you!

When you cleaned out keychain access, did you remove the keys as well as the certificates?  Most people have to completely clean out everything related to their developer account in keychain access.

@Rob good stuff!  haven’t cleaned those out yet.  

Just to be sure I delete all Certificates I created(10)  called iPhone Development and iPhone Distribution and DO NOT delete “Developer ID Certification Authority” or Self-Signed Root Certificate.

Also with the Keys(26)  I just delete the ones I created with my name on them.  DO NOT delete" iMessage Signing Key" or  “iMessage Encryption Key”

Are these statements correct?

After doing this do you recommend revoking and recreating the 2 certificates (developmental and distribution)?  

Thank you!

I would just delete the ones that have your name on them.  Revoke and recreate both development and distribution certificates.

Then under “Keys” get anything with just your name on it, or “iOS developer: your name” and “iOS Distrubtion: your name”.

@ Rob

Holy Cow it worked!!!

Thank you for your help I don’t know where else I could have gotten help with this.  You Rock!!!

Glad it worked for you.

Rob