Post not yet marked as solved
Wanted to see if its possible to utilise the Network Extensions API on a command line tool application.
I am aware of the Simple Firewall project and it prompts the user to enable System Extensions in the security panel, can this behaviour be done on a Command Line Application ?
My objective is to design a CLI app similar to htop to monitor network bandwidth usage per process. Kind of like nettop
Thanks in advance, hoping for a swift reply.
Post not yet marked as solved
Facing issue with notarising Sparkle embedded framework.The signature of the binary is invalid.These four binaries/MyApp.app/Contents/MacOS/MyApp
/MyApp.app/Contents/Frameworks/Sparkle.framework/Sparkle
/MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
/MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/Current/SparkleIm fairly certain all the above issues are occurring because of embedded Sparkle framework.Updated RunScript :This is present in my runscript phasecodesign --verbose --force -o runtime --sign "Developer ID Application: XXXXXXXX" "Pods/Sparkle/Sparkle.framework/Versions/A/Resources/AutoUpdate.app/Contents/MacOS/fileop"
codesign --verbose --force -o runtime --sign "Developer ID Application: XXXXXXXX" "Pods/Sparkle/Sparkle.framework/Versions/A/Resources/AutoUpdate.app"
codesign --verbose --force -o runtime --sign "Developer ID Application: XXXXXXXX" "Pods/Sparkle/Sparkle.framework"The output Im getting from Notarization Logs :Contents/Payload/Applications/MyApp.app/Contents/MacOS/MyApp -> The signature of the binary is invalid.
Contents/Payload/Applications/MyApp.app/Contents/Frameworks/Sparkle.framework/Sparkle -> The signature of the binary is invalid.
Contents/Payload/Applications/MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle -> The signature of the binary is invalid.
Contents/Payload/Applications/MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/Current/Sparkle -> The signature of the binary is invalid.I tried running on each of the above binaries like thiscodesign -vvv --deep --strict MyApp.app/Contents/MacOS/MyApp
codesign -vvv --deep --strict MyApp.app/Contents/Frameworks/Sparkle.framework/Sparkle
codesign -vvv --deep --strictMyApp.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
codesign -vvv --deep --strict MyApp.app/Contents/Frameworks/Sparkle.framework/Versions/Current/SparkleI get the following response each timevalid on disk
satisfies its Designated RequirementWhat am I doing wrong ?