The application does not have valid signature

Hi all,

I cannot install my app on my iPhone to tester.

I make provisioning on developer.apple.com and I built app to ipa.

When I move ipa on XCode’s Organizer or iTunes they say “The application does not have valid signature”.

I don’t specify Bundle ID in configuration file and I choose Provisioning com.auresc.abcd (without wildcard *)

 

I’m using last Starter version of Corona SDK.

Can you help me?

 

Thanks in advance,

Lorenzo

Hi @lorenzo.bonacucina,

Did you go through every step in our iOS guide? This process is very specific and you must do every step exactly as outlined, otherwise you will have issues when trying to build/deploy.

Here’s the guide:

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

Best regards,

Brent

Thank you for reply,

I follow instuctions step by step but it doesn’t work.

In Organized of Xcode, the status is “Valid profile” but when I install app Organizer

says “The application does not have valid signature” again.

Any ideas?

Hi @lorenzo.bonacucina,

Can you please try the most recent public build of Corona, released yesterday?

https://developer.coronalabs.com/downloads/corona-sdk

Also, which version of Xcode are you using? And which version of OS X?

Brent

Hi Brent,

I just try the last version of Corona SDK buy It doesn’t work too.

The same provisioning file works with a Xcode project.

Mavericks 10.9.2

Xcode 5.1

Please, help me

Lorenzo

My config.lua:

application = {

    content = {

        width = 320,

        height = 480, 

        scale = “letterBox”,

        fps = 30

    }    

}

and build.settings:

– Supported values for orientation:

– portrait, portraitUpsideDown, landscapeLeft, landscapeRight

settings = {

    

    orientation = {

        default = “landscapeRight”,

        supported = { “landscapeRight”, }

    },

    

    iphone = {

        plist = {

            UIStatusBarHidden = true,

            UIPrerenderedIcon = true, – set to false for “shine” overlay

            --UIApplicationExitsOnSuspend = true, – uncomment to quit app on suspend

                        --CFBundleIdentifier = “com.auresc.jumpywoof”,

                        --CFBundleDisplayName = “Jumpy Woof”

                        UIAppFonts =

                        {

                            “Thirteen-Pixel-Fonts.ttf”

                        },

            --[[

            – iOS app URL schemes:

            CFBundleURLTypes =

            {

                {

                    CFBundleURLSchemes =

                    {

                        “fbXXXXXXXXXXXXXX”, – example scheme for facebook

                        “coronasdkapp”, – example second scheme

                    }

                }

            }

            --]]

        }

    },

    

    --[[

    – Android permissions

    androidPermissions = {

          “android.permission.INTERNET”,

      },

    ]]–

}

When I drag and drop ipa in Organizer on my device it says “The application does not have valid signature”

but in the provisioning profiles section the profile is added and its status is “valid profile”.

Corona SDK outputs either a .app bundle or a .zip file, which is a compressed version of the .app bundle.  We don’t output an .ipa file.  You have to take steps to convert the .app bundle to a .ipa file.  With Xcode’s Orgainzer, you drag the app bundle file, not a .ipa file.  iTunes uses the .ipa file.

Can you verify the type of file you are trying to drag and drop into Xcode?  Also look in the Console for the device and see if there are more useful errors.

Rob

Thank for reply Rob,

I have .app bundle.

Console:

Mar 14 10:02:25 iPhone-di-Lorenzo mobile_installation_proxy[3178] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.

Mar 14 10:02:25 iPhone-di-Lorenzo mobile_installation_proxy[3178] <Warning>: LaunchServices: installing app for existing placeholder (null)

Mar 14 10:02:25 iPhone-di-Lorenzo installd[2190] <Notice>: 0x31d000 handle_install_for_ls: Install of “/var/mobile/Media/PublicStaging/jumpywoof.app” requested by mobile_installation_proxy

Mar 14 10:02:26 iPhone-di-Lorenzo installd[2190] <Notice>: 0x31d000 MobileInstallationInstall_Server: Installing app com.auresc.jumpywoof

Mar 14 10:02:26 iPhone-di-Lorenzo installd[2190] <Error>: 0x31d000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.OF9XYN/jumpywoof.app/jumpywoof: 0xe8008019

Mar 14 10:02:26 iPhone-di-Lorenzo installd[2190] <Error>: 0x31d000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.OF9XYN/jumpywoof.app

Mar 14 10:02:26 iPhone-di-Lorenzo mobile_installation_proxy[3178] <Error>: 0x299000 MobileInstallationInstallForLaunchServices: failed with -1

Mar 14 10:02:26 iPhone-di-Lorenzo mobile_installation_proxy[3178] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil

Mar 14 10:02:26 iPhone-di-Lorenzo mobile_installation_proxy[3178] <Error>: 0x299000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 “The operation couldn’t be completed. (LaunchServicesError error 0.)” UserInfo=0x15d14700 {Error=ApplicationVerificationFailed, ErrorDetail=-402620391}

Mar 14 10:02:26 iPhone-di-Lorenzo installd[2190] <Error>: 0x31d000 install_application: Could not preflight application install

Mar 14 10:02:26 iPhone-di-Lorenzo installd[2190] <Error>: 0x31d000 handle_install_for_ls: API failed

 

 

 

What can I do? 

for me it is very important to use Corona SDK!

Hi @lorenzo.bonacucina,

Let’s “step back” and test one of our basic sample apps. Please open up the “Hello World” project in the Simulator, located in your local CoronaSDK application folder:

CoronaSDK > SampleCode > GettingStarted > HelloWorld

Build this app as normal, then try to install it on your device. If this works, then we know the issue is somewhere code-related, not with the provisioning setup.

Thanks,

Brent

I just tryed Hello Word project but without success.

What can I do?

@lorenzo.bonacucina, the good news here is that everyone eventually gets this to work.  Corona SDK works very well with the Apple signing system.  It’s just a challenge to get it right.  What makes it tough on us, is that we can’t see any of your settings so we are at your mercy that you got every step correctly.

It would help to get a list of the files in your /Users/yourhomedir/Library/MobileDevices/Provisioning Profiles/  folder and a screen shot if your Corona SDK build screen just before you click Build.

I’m iOS developer and I made apps with Xcode.

Provisioning Profiles

15573A19-ADB8-4932-BED2-15A61F7EA259.mobileprovision

2308D570-0BF8-4220-8FB6-C06B157E835E.mobileprovision

23B76220-208E-4D88-B590-72AE8E5BC450.mobileprovision

268CAF78-41AB-4C1D-B7FD-742C3EAD6135.mobileprovision

41A67C83-8C4B-4D28-8947-F2C7E869CFF7.mobileprovision

47652D54-5411-4C56-A5F2-DF576567886E.mobileprovision

56906609-EE99-4F1E-AFFA-40B77EBE17B1.mobileprovision

5AB33C54-4184-45C7-8456-9A69570C59A2.mobileprovision

7F28CA26-660C-4CA6-9C09-D3BFF361E126.mobileprovision

922A7245-D3F2-40AD-8C47-AC88B7AEB4E9.mobileprovision

B4E54154-1ED6-40E5-AB73-A3AD4D5FE7D2.mobileprovision

FAA08581-8E84-46D3-B4BD-BD8729241BA6.mobileprovision

 

 

screen.png

Today, I tryed with other Apple Developer account and it works.

My main account doesn’t work.

I don’t understand why… This is a problem for me…

Any ideas?

That would point to a problem in the keys, certs, or profile setup for your account.  As painful as this is to say, you may need to completely scrub your Keychain Access of all keys and certificates for the problem account.  There can easily be hidden/no obvious entries that will gum up the works.

Rob

Thank you Rob!

Finally it works!

Hi @lorenzo.bonacucina,

Did you go through every step in our iOS guide? This process is very specific and you must do every step exactly as outlined, otherwise you will have issues when trying to build/deploy.

Here’s the guide:

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

Best regards,

Brent

Thank you for reply,

I follow instuctions step by step but it doesn’t work.

In Organized of Xcode, the status is “Valid profile” but when I install app Organizer

says “The application does not have valid signature” again.

Any ideas?

Hi @lorenzo.bonacucina,

Can you please try the most recent public build of Corona, released yesterday?

https://developer.coronalabs.com/downloads/corona-sdk

Also, which version of Xcode are you using? And which version of OS X?

Brent

Hi Brent,

I just try the last version of Corona SDK buy It doesn’t work too.

The same provisioning file works with a Xcode project.

Mavericks 10.9.2

Xcode 5.1

Please, help me

Lorenzo