nanonation / floatsign

A bash script to re-sign iOS applications.
67 stars 39 forks source link

CFBundleExecutable not executable #2

Open ElRochito opened 9 years ago

ElRochito commented 9 years ago

Hi all!

I've got an error after resign when I install app on iPad.

"Can't install application The Info.plist for application at specifies a CFBundleExecutable of , which is not executable"

Someone has encountered it ?

Thanks

mnespor commented 9 years ago

Is a Windows machine involved in your deployment process anywhere? Windows line endings in your provisioning profile or entitlements file can cause behavior like this.

ElRochito commented 9 years ago

Oh no, I work on MacOS! ;-) I've found an issue but I don't think that is the better solution. Before "zip" process I run a "chmod plus +" command on executable in Payload/.app/

mnespor commented 9 years ago

That's really interesting. My executables come out of Xcode with mode 755. I've never seen floatsign mess with my modes, but that sounds like what's happening to you.

GoannaGuy commented 9 years ago

I'm not sure if this issue is still of interest to you Juiio, but I would ask is it possible you were running the script on a non-HFS volume? Or perhaps trying to use it on an app bundle that had been extracted or transferred through a process that has removed/mangled the file permissions. I have seen this happen with other projects when a Windows user unzips an archive containing a Mac application and then copies the unzipped folder to a Mac. The files are all there, but the unix file permissions are no longer the same.