Hi devs! We are developing a plugin for Rhino3D for macOS therefore creating a dylib that our code uses. So far so good, with xcrun altool
+ xcrun stapler
everything worked nice and dandy we notarized the dylib and stapled it all good before xcode 13.
Now with the change in notarization we are migrating to xcrun notarytool
and it works nicely and the dylib is notarized no problems but xcrun stapler
refuse to staple the dylib. The man page tells us that the dylib is not a valid format to be stapled.
Any suggestion on how to solve this problem? For reference this is what we do.
/usr/bin/ditto -c -k --keepParent <dylib_path> <zipped_dylib>
xcrun notarytool submit <zipped_dylib> --apple-id <myid> --password <password> --team-id <team_id> --wait
xcrun stapler staple -v <dylib_path>
Thanks a lot!
Alberto