I have Simple Firewall Content filter example which available in online.
This is working fine in both SIP enabled & disabled case If I have tried with Apple Developer.
Also It is working if SIP is disabled & we do code sign by attaching provisional profile.
But Also It is not working if SIP is enabled and code sign by attaching provisional profile. Is this problem with certificate or entitlement? What may be the problem? Please help.
I am getting below errors
Code Block default 15:42:19.757925+0530 sysextd request contains no authorizationref default 15:42:19.758070+0530 sysextd shouldMoveAppToTrash: file:///Applications/SimpleFirewall.app/ (requestor: /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder) default 15:42:19.758588+0530 sysextd Realizing target path: file:///Applications/SimpleFirewall.app/Contents/Library/SystemExtensions/com.sample.simplefirewall.systemextension/ default 15:42:19.758832+0530 sysextd Bundle class: UncachedBundle default 15:42:19.769768+0530 sysextd shouldMoveAppToTrash: no extensions found, allowing delete default 15:42:56.485811+0530 sysextd attempting to realize extension with identifier com.sample.simplefirewall default 15:42:56.497551+0530 sysextd Realizing target path: file:///Applications/SimpleFirewall.app/Contents/Library/SystemExtensions/com.sample.simplefirewall.systemextension/ default 15:42:56.497812+0530 sysextd Bundle class: UncachedBundle default 15:42:56.517482+0530 sysextd staging extension with identifier com.sample.simplefirewall default 15:42:56.540700+0530 sysextd Making activation decision for extension with teamID teamID("BGLHCMSU7"), identifier com.sample.simplefirewall default 15:42:56.540740+0530 sysextd No extension policy -- activation decision is UserOption default 15:42:56.540766+0530 sysextd validating extension with identifier com.sample.simplefirewall default 15:42:56.554285+0530 sysextd MacOS error: 3 default 15:42:56.557821+0530 sysextd Error checking with notarization daemon: 3 error 15:42:56.559103+0530 sysextd bundle code signature is not valid - does not satisfy requirement: -67050 code failed to satisfy specified code requirement(s) default 15:42:56.559453+0530 sysextd extension failed to validate! uninstalling... default 15:42:56.559500+0530 sysextd uninstalling invalid extension com.sample.simplefirewall default 15:42:56.565893+0530 sysextd finished uninstalling extension com.sample.simplefirewall
Following is my 'SimpleFDirewall' app entitlement
Code Block <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.application-identifier</key> <string>BGLHCMSU7.com.sample.simplefirewall</string> <key>com.apple.developer.team-identifier</key> <string>BGLHCMSU7</string> <key>com.apple.developer.system-extension.install</key> <true/> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.application-groups</key> <array> <string>BGLHCMSU7.com.sample.simplefirewall</string> </array> <key>com.apple.developer.networking.networkextension</key> <array> <string>content-filter-provider-systemextension</string> </array> </dict> </plist>
Following is my 'SimpleFirewallExtension' entitlement:
Code Block <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.application-identifier</key> <string>BGLHCMSU7.com.sample.simplefirewall</string> <key>com.apple.developer.team-identifier</key> <string>BGLHCMSU7</string> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.application-groups</key> <array> <string>BGLHCMSU7.com.sample.simplefirewall</string> </array> <key>com.apple.developer.networking.networkextension</key> <array> <string>content-filter-provider-systemextension</string> </array> </dict> </plist>