Hi,
We are unable to codesign our Mac app using Developer Id Application certificate. This was workig fine till last week.
If we set timestamp option to none everyting works fine. As we are distributing this app to public, can not use timestamp=none option.
This error occurs only if app bundle has any framework or dylib. As we use swift in our application, swift dylibs will be emebeded with in the app.
I am using Xcode 8.3.3 and Mac OS 10.12.4. I have also attached error logs here.
Can anyone help me resolve this?
Test-MBP$ codesign -s "SIGNING_IDENTITY” —deep test123.app --force -o library
test123.app: replacing existing signature
test123.app: signature too large to embed (size limitation of on-disk representation)
In subcomponent: test123.app/Contents/Frameworks/libswiftCore.dylib
This isn’t really my field but your problem looks similar to one that’s been reported to DTS a few times. According to the colleague I talked to (DTS’s expert on code signing issues) there’s been recent changes to how Apple’s timestamp server works and that seems to be triggering the issue. The folks responsible know about this problem but, for the moment, you might be able to work around it by adding
--signature-size=12000 to your
codesign command.
Please try this out and let us know how you get along.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"