Notarize a dmg with Mac app and iOS frameworks

Hi,


We distribute libraries for developers. A download contains both Mac and iOS frameworks for developers to use.

Now we notarize the dmg and get an error: "Unable to notarize .../test.framework/test",


So the iOS bundle is not ignored. How can we get the iOS part notarized, too? Or ignored?


Sincerely

Christian

Replies

Hmmm, that’s an interesting edge case. Does notarisation fail completely? Or is this just a warning?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

It fails completely. Sad.

It fails completely. Sad.

Indeed.

For those following along at home, I’ll be helping out MonkeybreadSoftware via another channel. Hopefully one of us will remember to post a summary back here when we’re done.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Thanks for your help.


It would be great if Apple would support notarization of any dmg, even those without an app (make --primary-bundle-id parameter optional).


And of course if there are frameworks, dylibs or other bundle types included, just validate them.

Ignore iOS frameworks in the dmg instead of trying to notarize them.

and today we tried again and it just worked fine!



Thanks for fixing it.


We can now notarize our disk image containing application and frameworks for iOS and Mac.