problem the staple the ticket for libabc.dylib

*can we notarize the .dylib file ? xcrun stapler staple -v libabc.dylib

_when I stapling the ticket, I am getting following error _

Downloaded ticket has been stored at file:///var/folders/fl/b7prmh551y33l4wlsvt6fdtdtdcyv2/T/29514381-948a-4aef-af40-7e96663007d2.ticket. Could not remove existing ticket from libabc.dylib/Contents/CodeResources -- file://user/hbhartiabc/ because an error occurred. Error Domain=NSCocoaErrorDomain Code=512 "“CodeResources” couldn’t be removed." UserInfo={NSUserStringVariant=( Remove ), NSFilePath=/Users/hbharti/workspace/dlpsdk/libabc.dylib/Contents/CodeResources, NSUnderlyingError=0x7f89ccc182f0 {Error Domain=NSPOSIXErrorDomain Code=20 "Not a directory"}}

problem the staple the ticket for libabc.dylib
 
 
Q