I’m at a loss for why my app is being seen by store agent as an unsigned app. I tried both using Sam’s AppWrapper and from the command line and I do get the “173 exit” message, but I then immediately get the line"
Here’s commands I entered into the terminal (obviously and “MyApp” are replaced with the actual cert/app name):
I ran the codesign verification on both the app and the entitlement and they look good. If I take out the certification request routine (so I don’t get the “173 exit”, the app actually runs in sandbox mode without any problem).
I’m stumped now. I have a few apps in the app store, but they were submitted over a year ago (using the same things above). Did something change? Did I miss a new step somewhere?
I’ve seen this a few times, and have no answer other than to trash all existing copies of the app, then try installing again from the command line with the same PKG.
Thanks Kem. I cleared everything out, re-imported my keys. Now I’m getting:
That’s progress, I think. Not sure where else to set my bundleid. It’s set in Xojo, it shows up in the Info.plist file. Is there a new key in the Info.plist that I need to specify the bundleid? Sam’s AppWrapper gave me a warning about CFBundleIdentifier being obsolete, is there a new key for the plist?
Time to take a break. No matter what I try, I keep getting this message. After installing, I checked the Info.plist and the CFBundleIdentifier is there. It is defined. It is also defined in Xojo. This makes no sense at all, other than perhaps I’m trying this on Mavericks. I guess I’ll downgrade my laptop and see if that fixes it.
Jim, thanks for the suggestion. The OS can read it just fine, at least plutil has no problem reading it. I’m in the process of rebuilding my laptop so I’ll post an update when it’s done
Are you resetting the permissions of the application after updating the plist and before code signing?
Also make sure that you don’t have any code anywhere in your application that opens any file in the application bundle with read/write as this will break your codesignature.
I have determined that it is not because of Mavericks. As I was troubleshooting, I noticed that the codesigning stuff works. The code signature breaks after I package it via productbuild. So somewhere within the productbuild step, something got changed. Does that ring a bell to anyone?
Thanks for reminding me, Sam. I forgot to reset the permission. I get no more error message about code/signature having been modified, but it’s still showing up as “unsigned app” in the console right after the “173 exit”.
What command are you using to test the installer?
sudo installer -store -pkg [path] -target /
Also, are your certificates up to date? Seems like an expired cert could cause this…
Does your application contain any resource forks? Just trying to think of any reason as to why the package would get modified at the packagebuild status.
Have you tried zipping it, the app not the package, then uploading it and re-downloading it. Does it work then? It would confirm if the productBuild step is screwing the code signature or something else is.
Again clutching at straws, you don’t have any unsanity haxies installed? I recent found that WindowShade can prevent a machine from accessing the internet!
Sam, thanks for the replies and suggestions. I actually contacted apple and they determined that my certificates were somehow corrupted. I had to revoke all my cents and rebuilt them from scratch. He also recommend that I stay away from Mavericks.
I don’t think so. Apple, like Xojo, really advises against using beta products in production environments.
Coding and compiling an app for release to the world int he App Store surely sounds like a production environment to me, so doing it in Mavericks sounds like a really bad idea.