The application does not have a valid signature

Hi,
Does anyone have the same problem when building app for iPad?
For last several weeks, I could successfully test my app on iPad.
Now it kept showing “The application does not have a valid signature.”
I have worked on CORONA SDK for several months so I am sure that I use the correct provisioning.
Moreover, I have no problem on testing the same app on iPhone.
I cannot even test the sample code from Corona on my iPad.
Is there anyone has the same problem now?

[import]uid: 4992 topic_id: 2067 reply_id: 302067[/import]

What version of the SDK are you using? where do you see that message? [import]uid: 3 topic_id: 2067 reply_id: 6141[/import]

Beta 8.0, but I don’t have this problem two weeks ago.
It happened when I uploaded my app to iPad through xcode organizer.
I also tried to create a new provioning but noting changed. [import]uid: 4992 topic_id: 2067 reply_id: 6158[/import]

If you have an expired (or outdated) profile on your device, you need to delete it even if you uploaded a new profile.

-Tom [import]uid: 7559 topic_id: 2067 reply_id: 6221[/import]

I have already deleted all profiles and upload a new one but nothing changed. [import]uid: 4992 topic_id: 2067 reply_id: 6268[/import]

Moreover, I just builded app by CORONA SDK GAME EDITION with the same profile and uploaded it to the same device.
It worked!

Something wrong with CoronaSDK? [import]uid: 4992 topic_id: 2067 reply_id: 6310[/import]

I too am having this problem :frowning: The best I can figure is that I am using iOS 4.1 and the drop down menu in Corona says iOS 4.0. Do you guys need to fix it to work with the newest SDK version?

Profiles are not expired. I have also tried recreating them.

I’m not using any beta versions of the iOS SDK or Xcode

Xcode v3.2.4
iOS 4.1 (iPad 3.2.2)
[import]uid: 8741 topic_id: 2067 reply_id: 7927[/import]

Similar problem in a different thread

http://developer.anscamobile.com/forum/2010/04/29/application-does-not-have-valid-signature

Verify your xcode version with xcode-select (from Terminal) [import]uid: 54 topic_id: 2067 reply_id: 7991[/import]

You guys solved this for me in another thread (bug #2700). The problem for me was that I had spaces in my build path in Corona’s target folder. [import]uid: 8741 topic_id: 2067 reply_id: 7997[/import]

Spaces in the build path name was a bug that we thought was fixed but it looks like it’s back. I have it flagged to check before our next release. In the mean time use underlines instead of spaces in your folder names.

This is a strange bug because the build app works on the Xcode simulator but can’t install on a device.

Sorry for the problems.

-Tom [import]uid: 7559 topic_id: 2067 reply_id: 7999[/import]

I am trying to build an app to submit to the app store and I am having this same issue. I’m using CoronaSDK 2.0.

The error I am getting is:
The signature was invalid, or it was not signed with an Apple submission certificate

I tried the suggestion above to set the “Save to Folder” path in the Build for iPhone dialog to a path without spaces. That worked fine.

Is there an open bug report or should I open a new one? [import]uid: 8194 topic_id: 2067 reply_id: 9069[/import]

I’m having the issue DKNELL mentioned when submitting to the apps store using corona Game Edition 2.0. There are no spaces in my target save to folder. Submitted tons of apps in the past all built to the same folder so not sure what it could be. provision file is brand newly created and installed today. [import]uid: 6317 topic_id: 2067 reply_id: 9195[/import]

Can one of you guys that’s having this issue send in the terminal log from a build that fails like this? support@anscamobile.com [import]uid: 3 topic_id: 2067 reply_id: 9197[/import]

I’m also getting this message while trying to upload my App to my iPad: “The application does not have a valid signature”; I repeatd many times the certificate generation procedure (I also use Apple’s SDK without problems) but always the same result.

There is a strange thing though: the terminal window shows this

  
Last login: Fri Oct 29 19:54:35 on ttys000  
MacPro:~ fulvio$ /Applications/Corona\ Game\ Edition\ 2010.109/Corona\ Terminal ; exit;  
Copying /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/HelloWorld/myHelloWorld/.DS\_Store to /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/buildFolder/myHelloWorld.app/.DS\_Store  
/Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/HelloWorld/myHelloWorld/.DS\_Store -\> /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/buildFolder/myHelloWorld.app/.DS\_Store  
Copying /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/HelloWorld/myHelloWorld/beep.caf to /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/buildFolder/myHelloWorld.app/beep.caf  
/Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/HelloWorld/myHelloWorld/beep.caf -\> /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/buildFolder/myHelloWorld.app/beep.caf  
Compressing/copying PNG /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/HelloWorld/myHelloWorld/button.png to /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/buildFolder/myHelloWorld.app/button.png  
Compressing/copying PNG /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/HelloWorld/myHelloWorld/Icon.png to /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/buildFolder/myHelloWorld.app/Icon.png  
usage: mv [-f | -i | -n] [-v] source target  
 mv [-f | -i | -n] [-v] source ... directory  
/Volumes/TEra: cannot read resources  

That “cannot read resources” is kinda strage… If I open the generated binary with show pkg contents all png images inside are empty (they exist as file but nothing is displayed in the file, looks like they are all blank PNGs)

Any idea about what’s going wrong ? [import]uid: 6704 topic_id: 2067 reply_id: 9410[/import]

You have spaces in your path, that’s the problem. [import]uid: 8741 topic_id: 2067 reply_id: 9433[/import]

I’ve read previous posts… so the problem is spaces in the whole path and not just in the final directory ? The problem applies to source paths or just to the final destination path where the binary is saved ? (this can be quite annoying since I’d have to cnahge even my volume name…) [import]uid: 6704 topic_id: 2067 reply_id: 9485[/import]

Some updates: I tried to compile to a volume that has no spaces in the chosen path; Corona terminal now says:

Copying /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/HelloWorld/myHelloWorld/.DS\_Store to /Volumes/USBDISKPRO/BINARY/myHelloWorld.app/.DS\_Store /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/HelloWorld/myHelloWorld/.DS\_Store -\> /Volumes/USBDISKPRO/BINARY/myHelloWorld.app/.DS\_Store Copying /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/HelloWorld/myHelloWorld/beep.caf to /Volumes/USBDISKPRO/BINARY/myHelloWorld.app/beep.caf /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/HelloWorld/myHelloWorld/beep.caf -\> /Volumes/USBDISKPRO/BINARY/myHelloWorld.app/beep.caf Compressing/copying PNG /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/HelloWorld/myHelloWorld/button.png to /Volumes/USBDISKPRO/BINARY/myHelloWorld.app/button.png Compressing/copying PNG /Volumes/TEra Toguna/LAVORI FROM CUBE/IRMA\_weather\_radio/CoronaStuff/HelloWorld/myHelloWorld/Icon.png to /Volumes/USBDISKPRO/BINARY/myHelloWorld.app/Icon.png /Volumes/USBDISKPRO/BINARY/myHelloWorld.app: replacing invalid existing signature /Volumes/USBDISKPRO/BINARY/myHelloWorld.app: signed bundle with Mach-O thin (armv7) [myHelloWorld]

and when I try to install the binary on my iPad I get an error that says “A signed resource has been added, modified, or deleted”

WHat’s wrong then now ? [import]uid: 6704 topic_id: 2067 reply_id: 9534[/import]

Your certificate and the Private keys, one of them is different on the new machine.

cheers,

Jayant C Varma [import]uid: 3826 topic_id: 2067 reply_id: 9541[/import]

make sure you go to the apple dev center, and download a new certificate. you have to get a new certificate unique to your machine in your keychain assistant, upload it to apple, then download and install on your machine. You’ll have to create new provision files after you do this and build on those. [import]uid: 6317 topic_id: 2067 reply_id: 9542[/import]

No Not necessarily, you can export the Private Key from the main machine and import it on the new one, install the developer certificate and that shall work.

The certificates are *NOT* tied to a machine, but to the Private Key identity stored in the KeyChain of the local machine.

cheers,

Jayant C Varma [import]uid: 3826 topic_id: 2067 reply_id: 9543[/import]