We built an app that uses openssl to validate a receipt.
We added OpenSSL statically as a framework (libcrypto.a and libssl.a).
We added a Run Script build phase that signs those two frameworks with our "3rd Party Mac Developer Application: CompanyName".
Through Xcode, Validation passed normally.
After the upload to the Mac App Store, we received an email from iTunes Connect that says we have issues with the delivery.
Specifically, the email says:
code object is not signed at all In subcomponent: com.companyname.AppName.pkg/Payload/AppName.app/Contents/Frameworks/libcrypto.aTo check what I'm delivering, I exported a .pkg for Mac App Store Deployment. I simulated a Store Installation in /Applications with:
sudo installer -store -pkg /Users/path/to/MASDeployed.pkg -target /Output:
installer: Note: running installer as an admin user (instead of root) gives better Mac App Store fidelity
installer: AppName.pkg has valid signature for submission: 3rd Party Mac Developer Installer: CompanyName
installer: Installation Check: Passed
installer: Volume Check: Passed
installer: Bundle com.companyname.AppName will be installed to /Applications/AppName.app
installer: Starting install
[...]
installer: Finished installThen I checked the sign of the whole app and of every framework included with:
codesign -dvv /Applications/AppName.app
codesign -dvv /Applications/AppName.app/Contents/Frameworks/libcrypto.a
codesign -dvv /Applications/AppName.app/Contents/Frameworks/libssl.aand every one of them returns:
[...]
Authority=3rd Party Mac Developer Application: CompanyName
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
[...]So, we are delivering a pkg that has no signature on certain components (openssl frameworks in this case), but if I install that pkg locally and check for signatures I see everything signed as I would expect.
I don't know how to correct the issue the email from apple is underlying.
I checked http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html and https://developer.apple.com/library/mac/technotes/tn2206/_index.html without being able to spot anything helpful or that we don't do already.
What am I missing here?