ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.62k stars 187 forks source link

Proxy Helper Tool installation did not succeed #1833

Open sunimp opened 12 months ago

sunimp commented 12 months ago

Description

After I update Proxyman to 4.13.0 or 4.14.0, Proxyman prompts me that I need to install the new 1.5.0 Proxy Helper Tool, and after I click on install, the prompt still says that I need to update the Proxy Helper Tool, and it looks as if the Proxy Helper Tool failed to be installed or was not detected.

Steps to Reproduce

  1. reinstall proxyman 4.13.0 or 4.14.0
  2. install Proxy Helper Tool 1.5.0
  3. Settings -> Advanced -> Proxy Helper Tool: ⚠️Need to update to version 1.5.0

Current Behavior

Editor

Install the Proxy Helper Tool by command line prompts successfully.

Editor

Expected Behavior

On Proxyman version 4.12.0, the Proxy Helper Tool works well.

Environment

NghiaTranUIT commented 12 months ago

@sunimp can you click on the "Uninstall" Button and reinstall again? 🤔

sunimp commented 12 months ago

@sunimp can you click on the "Uninstall" Button and reinstall again? 🤔

Yes, It reinstalled successfully, but Proxyman thinks it didn't work.

sunimp commented 12 months ago

@sunimp can you click on the "Uninstall" Button and reinstall again? 🤔

I recorded a video of me operating the reinstall: https://reurl.cc/o5p3vM

NghiaTranUIT commented 12 months ago

It's odd. If you don't mind.

  1. Open Proxyman Setting -> Advance Tab -> Uninstall the Helper Tool
  2. Quit the app -> Open Finder at /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool and try to delete this find it exists
  3. Open Proxyman again -> Reinstall the Helper Tool.
sunimp commented 12 months ago

It's odd. If you don't mind.

  1. Open Proxyman Setting -> Advance Tab -> Uninstall the Helper Tool
  2. Quit the app -> Open Finder at /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool and try to delete this find it exists
  3. Open Proxyman again -> Reinstall the Helper Tool.
  1. It can be uninstalled normally
  2. /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool doesn't exist
  3. Reinstall Proxy Helper Tool bringing the problem back to where it started

btw: Before you say this I already tried this step, it doesn't work.

sunimp commented 12 months ago

When I reinstalled back to version 4.12.0, it worked very well. CleanShot 2023-10-30 at 15 43 13@2x

Ricardo1980 commented 12 months ago

I have exactly the same issue.

NghiaTranUIT commented 12 months ago

@Ricardo1980 @sunimp can you simply delete the old Helper Tool at /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool and then install it again on the latest build 👍

sunimp commented 12 months ago

@Ricardo1980 @sunimp can you simply delete the old Helper Tool at /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool and then install it again on the latest build 👍

Yes, I tried this, it's not working.

A few of the methods I've tried:

  1. I tried uninstalling Proxy Helper Tool(1.4.0) only, then upgrading the Proxyman app to the latest version (4.14.0), then installing Proxy Helper Tool(1.5.0), and it's not working.

  2. then I tried uninstalling Proxy Helper Tool (1.4.0), then uninstalling Proxyman app (4.12.0), then installing the latest version of Proxyman (4.14.0), installing Proxy Helper Tool(1.4.0), and it's not working yet.

  3. then, I tried directly uninstalling Proxyman app (4.12.0), install the latest version of Proxyman app (4.14.0), then install Proxy Helper Tool(1.4.0), and it's still not working.

I tried as much as I could using the control variable method to try to solve it by myself, but in the end it didn't, I've reinstall Proxyman app (and Proxy Helper Tool) both 4.13.0 and 4.14.0 many times.

I'm a programmer too, so I do understand that you don't have a clear idea of what's going on with this. I've tried to inform you as much as I can about the paths and methods I've tried, but unfortunately I can only pinpoint that it has something to do with the changes made to Proxyman app in 4.13.0 (and of course to Proxy Helper Tool 1.5.0), including the newer 4.14.0, but I don't know what it is, and there's no way for me to be able to refine it any further at this point!

Ricardo1980 commented 12 months ago

@Ricardo1980 @sunimp can you simply delete the old Helper Tool at /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool and then install it again on the latest build 👍

That worked for me. Thank!

NghiaTranUIT commented 12 months ago

Sorry for this trouble @sunimp but I'm not sure why you can't install it. I tested your case

I tried uninstalling Proxy Helper Tool(1.4.0) only, then upgrading the Proxyman app to the latest version (4.14.0), then installing Proxy Helper Tool(1.5.0), and it's not working.

and it just works fine. Manually delete the file at /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool will always do the trick.

I will investigate it.

sunimp commented 12 months ago

Sorry for this trouble @sunimp but I'm not sure why you can't install it. I tested your case

I tried uninstalling Proxy Helper Tool(1.4.0) only, then upgrading the Proxyman app to the latest version (4.14.0), then installing Proxy Helper Tool(1.5.0), and it's not working.

and it just works fine. Manually delete the file at /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool will always do the trick.

I will investigate it.

Thank you so much, I will appreciate it!

ForeverWorld commented 12 months ago

I have the same problem, following the above steps did not solve the problem, after installing com.proxyman.NSProxy.HelperTool, the switching window rolls back to uninstalled state @NghiaTranUIT

NghiaTranUIT commented 12 months ago

@ForeverWorld can you try again:

  1. Quit all Proxyman all
  2. Delete this file in Terminal app: sudo rm /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool
  3. Open Proxyman again -> Install the Helper Tool/

and may I ask do you use Setapp version?

Nehcgnos commented 11 months ago
iShot_2023-11-03_11 33 05 iShot_2023-11-03_11 33 49

The version of the helper tool in Finder is 1.5.0, but the proxyman still displays need to update.

NghiaTranUIT commented 11 months ago

Can you open System Setting -> General -> Login Items and verify Proxyman is ON ?

CleanShot 2023-11-03 at 10 37 38@2x

ForeverWorld commented 11 months ago

@ForeverWorld can you try again:

  1. Quit all Proxyman all
  2. Delete this file in Terminal app: sudo rm /Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool
  3. Open Proxyman again -> Install the Helper Tool/

and may I ask do you use Setapp version?

It's still not working the way you're doing it. What does Setapp version mean?

image image

https://github.com/ProxymanApp/Proxyman/assets/100790155/26286c68-9e2a-42b7-b5ca-043c235de978

Nehcgnos commented 11 months ago

Can you open System Setting -> General -> Login Items and verify Proxyman is ON ?

CleanShot 2023-11-03 at 10 37 38@2x

iShot_2023-11-03_17 16 28

It's ON

Nehcgnos commented 11 months ago

https://github.com/ProxymanApp/Proxyman/assets/14212385/188c293f-edf1-4927-9fc4-9325178a8c46

I did all checks

Nehcgnos commented 11 months ago

It works fine on my x86 mac, having problems on m1 device

NghiaTranUIT commented 11 months ago

@Nehcgnos @ForeverWorld

Please help me with the last debug:

  1. Close all Proxyman
  2. Open Console.app in your Macbook and add the Filter ANY = com.proxyman.NSProxy.HelperTool

unnamed

  1. Open Proxyman and try to Install the helper Tool.
  2. Copy and share with me all error logs from the Helper Tool in the Console.app

With this log, I can understand what's wrong.

I really appreciate it.

staticdreams commented 11 months ago

@NghiaTranUIT I'm also having the exact same issue using the latest version of macOS and 4.14.0. I'm using a Setapp version which worked fine until the update. You can see some people are already complaining on Setapp because of the new version.

Anyway, here is my log. The log was produced when I clicked to update helper version to 1.5.0 proxyman-log.txt

NghiaTranUIT commented 11 months ago

@staticdreams thanks so much for the log. The problem is:

com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001

It's a new security improvement for Helper 1.5.0. It verifies the main app. If it's a crack app or missing the kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard flag, it will reject the connection.

It means, the helper tool is successfully installed into your system, but Proxyman never connects to it.


Let me find a solution.

NghiaTranUIT commented 11 months ago

@staticdreams can you update your latest Setapp app, Uninstall the Proxyman Setapp and try again?

I've tested again with Setapp app, it's working. The Setapp build comes with correct flags, so it can connect to Proxyman.

ForeverWorld commented 11 months ago

@NghiaTranUIT

默认 08:55:30.034105+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 08:55:30.038266+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 08:55:30.045361+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 08:55:30.048919+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 08:55:30.053478+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 08:55:30.059525+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 08:55:30.061650+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 默认 08:55:32.089035+0800 backgroundtaskmanagementd registerLaunchItem: found existing item: uuid=022AF154-2DC5-4E5F-AADA-B748F37B805C, name=com.proxyman.NSProxy.HelperTool, type=legacy daemon, disposition=[enabled, allowed, visible, notified], identifier=com.proxyman.NSProxy.HelperTool, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist 默认 08:55:32.089097+0800 backgroundtaskmanagementd registerLaunchItem: checking for an updated legacy agent or daemon item: uuid=022AF154-2DC5-4E5F-AADA-B748F37B805C, name=com.proxyman.NSProxy.HelperTool, type=legacy daemon, disposition=[enabled, allowed, visible, notified], identifier=com.proxyman.NSProxy.HelperTool, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist 默认 08:55:32.163608+0800 backgroundtaskmanagementd registerLaunchItem: updated item with same LWCR: uuid=022AF154-2DC5-4E5F-AADA-B748F37B805C, name=com.proxyman.NSProxy.HelperTool, type=legacy daemon, disposition=[enabled, allowed, visible, notified], identifier=com.proxyman.NSProxy.HelperTool, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist 默认 08:55:32.164244+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 错误 08:55:32.599441+0800 taskgated-helper Disallowing com.proxyman.NSProxy.HelperTool because no eligible provisioning profiles found 默认 08:55:32.600920+0800 kernel Couldn't build index for com.proxyman.NSProxy.HelperTool: Not eligible for acceleration 错误 08:55:32.628046+0800 com.proxyman.NSProxy.HelperTool open flag(s) 0x01000000 are reserved for VFS use and do not affect behaviour when passed to sqlite3_open_v2 错误 08:55:32.628124+0800 com.proxyman.NSProxy.HelperTool cannot open file at line 46922 of [554764a6e7] 错误 08:55:32.628148+0800 com.proxyman.NSProxy.HelperTool os_unix.c:46922: (2) open(/private/var/db/DetachedSignatures) - No such file or directory 默认 08:55:32.631881+0800 com.proxyman.NSProxy.HelperTool Received configuration update from daemon (initial) 默认 08:55:32.632045+0800 com.proxyman.NSProxy.HelperTool System Keychain Always Supported set via feature flag to disabled 默认 08:55:32.632268+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 08:55:32.634139+0800 com.proxyman.NSProxy.HelperTool TrustSettingsUseXPC is enabled (via feature flags) 默认 08:55:32.634247+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 08:55:32.635066+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 08:55:32.639252+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 08:55:32.645776+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 08:55:32.647747+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 08:55:32.649900+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 08:55:32.653522+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 08:55:32.654290+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 默认 08:55:32.655054+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 默认 08:55:35.904932+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 08:55:35.907686+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 08:55:35.911144+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 08:55:35.912853+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 08:55:35.915204+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 08:55:35.921001+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 08:55:35.922030+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; }

NghiaTranUIT commented 11 months ago

@ForeverWorld may I ask?

  1. what build version you're using?
  2. Is it Setapp build or normal build?

Please notice that a Cracked Proxyman doesn't work anymore because it's not signed and hardened with Proxyman certificate and Apple's flags.

NghiaTranUIT commented 11 months ago

@ForeverWorld I can confirm that I'm 100% able to reproduce the issue (has the same error from console.app) if I'm using the Cracked Proxyman (Setapp) version.

The helper tool always works if it's download from our official website: https://proxyman.io/release/osx/Proxyman_latest.dmg

Can you confirm it? @sunimp @staticdreams @ForeverWorld ?


If you're using the official version, May you run this code on Terminal?

codesign -dvv /Applications/Proxyman.app

I'd like to see the CodeDirectory Signature of the app.

It should be:

CodeDirectory v=20500 size=39072 flags=0x10000(runtime) hashes=1210+7 location=embedded
sunimp commented 11 months ago

@Nehcgnos @ForeverWorld

Please help me with the last debug:

  1. Close all Proxyman
  2. Open Console.app in your Macbook and add the Filter ANY = com.proxyman.NSProxy.HelperTool

unnamed

  1. Open Proxyman and try to Install the helper Tool.
  2. Copy and share with me all error logs from the Helper Tool in the Console.app

With this log, I can understand what's wrong.

I really appreciate it.

Hello again, I followed your guide and extracted the logs from Proxyman (see attachment) It also have the signature invalid in my log, but I don't know why, I have the normal license of Proxyman(not Setapp)

10:48:24.581957+0800    com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001

This is my CodeDirectory Signature:

Editor

My license snapshots:

Editor
Editor

log file: proxyman_4.14.0.log

ForeverWorld commented 11 months ago

@NghiaTranUIT I reinstalled it from this address and it didn't work. https://proxyman.io/release/osx/Proxyman_latest.dmg

image

默认 13:16:58.919751+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:16:58.922878+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 13:16:58.926139+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 13:16:58.927541+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:16:58.929786+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 13:16:58.934048+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 13:16:58.935919+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 默认 13:16:58.937433+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 默认 13:17:05.204777+0800 backgroundtaskmanagementd registerLaunchItem: found existing item: uuid=A17FE755-5F63-4B6F-B55E-0FF4319130AC, name=com.proxyman.NSProxy.HelperTool, type=legacy daemon, disposition=[enabled, allowed, visible, notified], identifier=com.proxyman.NSProxy.HelperTool, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist 默认 13:17:05.204839+0800 backgroundtaskmanagementd registerLaunchItem: checking for an updated legacy agent or daemon item: uuid=A17FE755-5F63-4B6F-B55E-0FF4319130AC, name=com.proxyman.NSProxy.HelperTool, type=legacy daemon, disposition=[enabled, allowed, visible, notified], identifier=com.proxyman.NSProxy.HelperTool, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist 默认 13:17:05.226073+0800 backgroundtaskmanagementd registerLaunchItem: updated item with same LWCR: uuid=A17FE755-5F63-4B6F-B55E-0FF4319130AC, name=com.proxyman.NSProxy.HelperTool, type=legacy daemon, disposition=[enabled, allowed, visible, notified], identifier=com.proxyman.NSProxy.HelperTool, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist 默认 13:17:05.226604+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 错误 13:17:05.598040+0800 taskgated-helper Disallowing com.proxyman.NSProxy.HelperTool because no eligible provisioning profiles found 默认 13:17:05.599903+0800 kernel Couldn't build index for com.proxyman.NSProxy.HelperTool: Not eligible for acceleration 错误 13:17:05.647938+0800 com.proxyman.NSProxy.HelperTool open flag(s) 0x01000000 are reserved for VFS use and do not affect behaviour when passed to sqlite3_open_v2 错误 13:17:05.648161+0800 com.proxyman.NSProxy.HelperTool cannot open file at line 46922 of [554764a6e7] 错误 13:17:05.648200+0800 com.proxyman.NSProxy.HelperTool os_unix.c:46922: (2) open(/private/var/db/DetachedSignatures) - No such file or directory 默认 13:17:05.656373+0800 com.proxyman.NSProxy.HelperTool System Keychain Always Supported set via feature flag to disabled 默认 13:17:05.656805+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:05.659482+0800 com.proxyman.NSProxy.HelperTool Received configuration update from daemon (initial) 默认 13:17:05.660238+0800 com.proxyman.NSProxy.HelperTool TrustSettingsUseXPC is enabled (via feature flags) 默认 13:17:05.660408+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:05.663109+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:05.669030+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 13:17:05.676558+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 13:17:05.678021+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:05.679930+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 13:17:05.684366+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 13:17:05.685240+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 默认 13:17:05.686096+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 默认 13:17:07.558010+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:07.561109+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 13:17:07.565141+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 13:17:07.566543+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:07.568649+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 13:17:07.572015+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 13:17:07.573163+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 默认 13:17:09.270824+0800 backgroundtaskmanagementd registerLaunchItem: found existing item: uuid=A17FE755-5F63-4B6F-B55E-0FF4319130AC, name=com.proxyman.NSProxy.HelperTool, type=legacy daemon, disposition=[enabled, allowed, visible, notified], identifier=com.proxyman.NSProxy.HelperTool, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist 默认 13:17:09.270893+0800 backgroundtaskmanagementd registerLaunchItem: checking for an updated legacy agent or daemon item: uuid=A17FE755-5F63-4B6F-B55E-0FF4319130AC, name=com.proxyman.NSProxy.HelperTool, type=legacy daemon, disposition=[enabled, allowed, visible, notified], identifier=com.proxyman.NSProxy.HelperTool, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist 默认 13:17:09.288513+0800 backgroundtaskmanagementd registerLaunchItem: updated item with same LWCR: uuid=A17FE755-5F63-4B6F-B55E-0FF4319130AC, name=com.proxyman.NSProxy.HelperTool, type=legacy daemon, disposition=[enabled, allowed, visible, notified], identifier=com.proxyman.NSProxy.HelperTool, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist 默认 13:17:09.288893+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 错误 13:17:09.763376+0800 taskgated-helper Disallowing com.proxyman.NSProxy.HelperTool because no eligible provisioning profiles found 默认 13:17:09.764724+0800 kernel Couldn't build index for com.proxyman.NSProxy.HelperTool: Not eligible for acceleration 错误 13:17:09.795681+0800 com.proxyman.NSProxy.HelperTool open flag(s) 0x01000000 are reserved for VFS use and do not affect behaviour when passed to sqlite3_open_v2 错误 13:17:09.795836+0800 com.proxyman.NSProxy.HelperTool cannot open file at line 46922 of [554764a6e7] 错误 13:17:09.795855+0800 com.proxyman.NSProxy.HelperTool os_unix.c:46922: (2) open(/private/var/db/DetachedSignatures) - No such file or directory 默认 13:17:09.802114+0800 com.proxyman.NSProxy.HelperTool System Keychain Always Supported set via feature flag to disabled 默认 13:17:09.802504+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:09.805002+0800 com.proxyman.NSProxy.HelperTool TrustSettingsUseXPC is enabled (via feature flags) 默认 13:17:09.805126+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:09.806056+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:09.809422+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:09.813059+0800 com.proxyman.NSProxy.HelperTool Received configuration update from daemon (initial) 错误 13:17:09.818445+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 13:17:09.822062+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:09.824618+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 13:17:09.827974+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 13:17:09.828834+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 默认 13:17:09.829811+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; } 默认 13:17:11.909337+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:11.911602+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 13:17:11.918340+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 13:17:11.921406+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 默认 13:17:11.923228+0800 trustd Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile 错误 13:17:11.926233+0800 com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001 默认 13:17:11.927159+0800 backgroundtaskmanagementd effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={ BTMConfigArguments = ( "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool" ); BTMConfigBundleIdentifiers = ( "com.proxyman.NSProxy", "com.proxyman.NSProxy-setapp" ); BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"; BTMConfigLabel = "com.proxyman.NSProxy.HelperTool"; }

image
NghiaTranUIT commented 11 months ago

@ForeverWorld @sunimp can you help me to run this command line:

csrutil status

I'd like to your SIP status on your MacBook. Not sure if it's enabled/disabled can affect the Helper tool.

staticdreams commented 11 months ago

@NghiaTranUIT I'll try downloading the network tool from the official website, but I can confirm that I indeed have sip disabled

Edit: Tried installing from the official website: no change. Still isn't able to install the tool.

codesign -dvv /Applications/Setapp/Proxyman.app
Executable=/Applications/Setapp/Proxyman.app/Contents/MacOS/Proxyman
Identifier=com.proxyman.NSProxy-setapp
Format=app bundle with Mach-O universal (x86_64 arm64)
CodeDirectory v=20500 size=42695 flags=0x10000(runtime) hashes=1323+7 location=embedded
Signature size=8976
Authority=Developer ID Application: TablePlus Inc (3X57WP8E8V)
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=29 Oct 2023 at 03:41:23
Notarization Ticket=stapled
Info.plist entries=41
TeamIdentifier=3X57WP8E8V
Runtime Version=14.0.0
Sealed Resources version=2 rules=13 files=726
Internal requirements count=1 size=220
Nehcgnos commented 11 months ago
默认  15:38:51.794821+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
默认  15:38:51.796125+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
错误  15:38:51.798207+0800    com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001
默认  15:38:51.799444+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
默认  15:38:51.800476+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
错误  15:38:51.803040+0800    com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001
默认  15:38:51.804030+0800    backgroundtaskmanagementd   effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={
    BTMConfigArguments =     (
        "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"
    );
    BTMConfigBundleIdentifiers =     (
        "com.proxyman.NSProxy",
        "com.proxyman.NSProxy-setapp"
    );
    BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool";
    BTMConfigLabel = "com.proxyman.NSProxy.HelperTool";
}
默认  15:38:53.801764+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
默认  15:38:53.802918+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
错误  15:38:53.805329+0800    com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001
默认  15:38:53.806296+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
默认  15:38:53.807215+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
错误  15:38:53.809240+0800    com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001
默认  15:38:53.809767+0800    backgroundtaskmanagementd   effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={
    BTMConfigArguments =     (
        "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"
    );
    BTMConfigBundleIdentifiers =     (
        "com.proxyman.NSProxy",
        "com.proxyman.NSProxy-setapp"
    );
    BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool";
    BTMConfigLabel = "com.proxyman.NSProxy.HelperTool";
}
默认  15:38:57.477525+0800    backgroundtaskmanagementd   registerLaunchItem: found existing item: uuid=9B2136BB-3A88-420D-91CA-43E6479B99B5, name=com.proxyman.NSProxy.HelperTool, type=legacy daemon, disposition=[enabled, allowed, visible, notified], identifier=com.proxyman.NSProxy.HelperTool, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist
默认  15:38:57.477628+0800    backgroundtaskmanagementd   registerLaunchItem: checking for an updated legacy agent or daemon item: uuid=9B2136BB-3A88-420D-91CA-43E6479B99B5, name=com.proxyman.NSProxy.HelperTool, type=legacy daemon, disposition=[enabled, allowed, visible, notified], identifier=com.proxyman.NSProxy.HelperTool, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist
默认  15:38:57.498306+0800    backgroundtaskmanagementd   registerLaunchItem: updated item with same LWCR: uuid=9B2136BB-3A88-420D-91CA-43E6479B99B5, name=com.proxyman.NSProxy.HelperTool, type=legacy daemon, disposition=[enabled, allowed, visible, notified], identifier=com.proxyman.NSProxy.HelperTool, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist
默认  15:38:57.498658+0800    backgroundtaskmanagementd   effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={
    BTMConfigArguments =     (
        "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"
    );
    BTMConfigBundleIdentifiers =     (
        "com.proxyman.NSProxy",
        "com.proxyman.NSProxy-setapp"
    );
    BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool";
    BTMConfigLabel = "com.proxyman.NSProxy.HelperTool";
}
错误  15:38:57.866589+0800    taskgated-helper    Disallowing com.proxyman.NSProxy.HelperTool because no eligible provisioning profiles found
默认  15:38:57.868771+0800    kernel  Couldn't build index for com.proxyman.NSProxy.HelperTool: Not eligible for acceleration
错误  15:38:57.903037+0800    com.proxyman.NSProxy.HelperTool open flag(s) 0x01000000 are reserved for VFS use and do not affect behaviour when passed to sqlite3_open_v2
错误  15:38:57.903112+0800    com.proxyman.NSProxy.HelperTool cannot open file at line 46922 of [554764a6e7]
错误  15:38:57.903135+0800    com.proxyman.NSProxy.HelperTool os_unix.c:46922: (2) open(/private/var/db/DetachedSignatures) - No such file or directory
默认  15:38:57.906137+0800    com.proxyman.NSProxy.HelperTool Received configuration update from daemon (initial)
默认  15:38:57.907387+0800    com.proxyman.NSProxy.HelperTool System Keychain Always Supported set via feature flag to disabled
默认  15:38:57.907634+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
默认  15:38:57.909883+0800    com.proxyman.NSProxy.HelperTool TrustSettingsUseXPC is enabled (via feature flags)
默认  15:38:57.909993+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
默认  15:38:57.911178+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
默认  15:38:57.916048+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
错误  15:38:57.922660+0800    com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001
默认  15:38:57.924426+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
默认  15:38:57.926481+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
错误  15:38:57.929492+0800    com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001
默认  15:38:57.930761+0800    backgroundtaskmanagementd   effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={
    BTMConfigArguments =     (
        "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"
    );
    BTMConfigBundleIdentifiers =     (
        "com.proxyman.NSProxy",
        "com.proxyman.NSProxy-setapp"
    );
    BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool";
    BTMConfigLabel = "com.proxyman.NSProxy.HelperTool";
}
默认  15:38:57.931608+0800    backgroundtaskmanagementd   effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={
    BTMConfigArguments =     (
        "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"
    );
    BTMConfigBundleIdentifiers =     (
        "com.proxyman.NSProxy",
        "com.proxyman.NSProxy-setapp"
    );
    BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool";
    BTMConfigLabel = "com.proxyman.NSProxy.HelperTool";
}
默认  15:39:00.429876+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
默认  15:39:00.432009+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
错误  15:39:00.435476+0800    com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001
默认  15:39:00.437196+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
默认  15:39:00.438803+0800    trustd  Entitlement com.apple.application-identifier=3X57WP8E8V.com.proxyman.NSProxy.HelperTool is ignored because of invalid application signature or incorrect provisioning profile
错误  15:39:00.441905+0800    com.proxyman.NSProxy.HelperTool ERROR: invalid code signing flags. Missing kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard: 0x22010001
默认  15:39:00.442758+0800    backgroundtaskmanagementd   effectiveItemDisposition: appURL=(null), type=legacy daemon, url=file:///Library/LaunchDaemons/com.proxyman.NSProxy.HelperTool.plist, config={
    BTMConfigArguments =     (
        "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool"
    );
    BTMConfigBundleIdentifiers =     (
        "com.proxyman.NSProxy",
        "com.proxyman.NSProxy-setapp"
    );
    BTMConfigExecutablePath = "/Library/PrivilegedHelperTools/com.proxyman.NSProxy.HelperTool";
    BTMConfigLabel = "com.proxyman.NSProxy.HelperTool";
}
iShot_2023-11-06_15 43 46

@NghiaTranUIT My dmg file was downloaded from official website, and I renewed license recently

iShot_2023-11-06_15 53 19
NghiaTranUIT commented 11 months ago

Thanks all. I confirmed that the disabled SIP causes the problem. Enabling the SIP will fix it.

The reason behind the scene is:

I'm looking solution to fix it.

sunimp commented 11 months ago

@ForeverWorld @sunimp can you help me to run this command line:

csrutil status

I'd like to your SIP status on your MacBook. Not sure if it's enabled/disabled can affect the Helper tool.

Yes, My mac SIP was disabled.

Editor
sunimp commented 11 months ago

Thanks all. I confirmed that the disabled SIP causes the problem. Enabling the SIP will fix it.

The reason behind the scene is:

  • Proxyman Helper Tools recently added some strict checks to verify the Proxyman Connection. kSecCodeSignatureLibraryValidation or kSecCodeSignatureForceHard to fix some security vulnerability.

I'm looking solution to fix it.

Thank you so much for helping us get to the root cause of this problem. I'm looking forward to your solution.

NghiaTranUIT commented 11 months ago

Hey @sunimp @Nehcgnos and @staticdreams, let's try this build: https://download.proxyman.io/beta/Proxyman_4.14.0_Fix_helper_tool_v1.6.0_v1.dmg


Let me know the result.

sunimp commented 11 months ago

Hey @sunimp @Nehcgnos and @staticdreams, let's try this build: https://download.proxyman.io/beta/Proxyman_4.14.0_Fix_helper_tool_v1.6.0_v1.dmg

  • Add some checks to fix the disabled SIP issues
  • It doesn't compromise the Security Vulnerability as we fixed on v1.5.0 Helper Tool.
  • Tested with disabled and enabled SIP. Proxyman works as intended ✅

Let me know the result.

This worked for me! Thank you for your continued and timely support!

Editor

And you can close this issue at any time if you need to.

Nehcgnos commented 11 months ago

@NghiaTranUIT perfect! thanks!!

iShot_2023-11-07_11 19 01
NghiaTranUIT commented 11 months ago

New update:

staticdreams commented 11 months ago

@NghiaTranUIT thanks! Setup version works perfectly too