So it seems Apple are changing the code signing requirements once again. The only thing that I can see, is that it now appears to be a requirement to code sign your application with 10.9 or newer.
Apple are also making a deal about having code in the ‘Resources’ folder and resources in a code folder. So I would advise if you’ve got helper applications in the “Resources” folder to move it to a more appropriate location.
If I find anything different, I’ll report back here.
Did a quick test with downloading an old app (code signed with 10.7) and it still works fine in 10.10 DP5 - strange, maybe the new codesigning requirements isn’t activated in DP5 yet.
Right, scanned through a bucket load of Apple docs to find the correct locations, some of them seem a bit conflicting and it also seems that doing a Google search or ADF search turns up people putting files all over the place!
So in summary, it seems like unix executables should go in the “MacOS” folder.
However I’ve also seen specific XPC folders for XPC apps and a folder called “Helpers” with unix executables and last but not least, I’ve even see a Library folder with unix executables in the “Application Support” folder… For the time being, I’d go with MacOS as that’s what the Bundle programming guide says.
I just submitted an app that launches on start with a helper, thanks to Valdemar de Sousa VDSC package. The helper is in /Library/LoginItem. Hopefully that will be allright.
[quote=117530:@Sam Rowlands]
So in summary, it seems like unix executables should go in the “MacOS” folder.
However I’ve also seen specific XPC folders for XPC apps and a folder called “Helpers” with unix executables and last but not least, I’ve even see a Library folder with unix executables in the “Application Support” folder… For the time being, I’d go with MacOS as that’s what the Bundle programming guide says.[/quote]
My app has a complete second Xojo app inside that it uses as a helper app. I wonder where that should be located, officially?
[quote=117680:@Michel Bujardet]Tim Jones currently, this is only in effect for 10.9.5 (which is only in dev beta)
? ? I am still at 10.9.4 and have received no seed update yet…[/quote]
Correction : App Store just offers me to update. Did not receive the usual mail from Apple about that release, though.
My old app (a universal build), code signed with 10.9.4, fails to run in DP5. I posted a new conversation about it because it applies to RS2011, my solution was to use the --deep option when signing.
I discovered that with the earlier 10.10 drops. In fact, I’ve been using --deep for some time now even for older OS X versions. We found this on some Java and Python apps, so I also applied it to my RS / Xojo builds.
I’d encourage everyone here to read over Apple’s updated ‘OS X Code Signing In Depth’ technote. It talks about the changes that are coming in 10.9.5/10.10 and also mentions the --deep option.