搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Firefox won't launch due to gatekeeper errors

  • 1 回覆
  • 1 有這個問題
  • 5 次檢視
  • 最近回覆由 bill255

more options

I rebooted my Mac (OS X 12.3, MacBook Pro M1) and now I cannot launch Firefox. If I try to launch from the command line, I get:

``` $ open /Applications/Firefox.app/ The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10673 "(null)" UserInfo={_LSLine=3845, _LSFunction=_LSOpenStuffCallLocal} ```

That message was extremely confusing, so I opened up Console and watched for errors. I saw that Firefox appears to be blocked by gatekeeper:

``` default 19:57:14.261387-0400 lsd Missing iTunes metadata default 19:57:14.260143-0400 Finder bundle 0x4fd0 is launch-disabled and needs to be set trusted error 19:57:14.315341-0400 Finder LAUNCH: cannot open an app or documents for an app while it is waiting for gatekeeper approval, app=<private> default 19:57:14.317352-0400 dmd Received xpc stream event (distributed notification matching) with name: com.apple.LaunchServices.applicationRegistered user info: {

   bundleIDs =     (
       "org.mozilla.firefox"
   );
   isPlaceholder = 0;

} default 19:57:14.321031-0400 Finder -[SFLGenericList _insertItem:atIndex:error:]_block_invoke item: C26F61B1-11C7-4C11-8159-A6704802E34F at index: 0 list: com.apple.LSSharedFileList.RecentApplications ```

I've attached a screenshot of the relevant section of

I don't think I have anything odd set up on my computer, nor have I messed with Firefox at all.

I attempted downloading a new copy of Firefox and installed it, but nothing changed.

Any ideas for how to get Firefox running again?

I rebooted my Mac (OS X 12.3, MacBook Pro M1) and now I cannot launch Firefox. If I try to launch from the command line, I get: ``` $ open /Applications/Firefox.app/ The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10673 "(null)" UserInfo={_LSLine=3845, _LSFunction=_LSOpenStuffCallLocal} ``` That message was extremely confusing, so I opened up Console and watched for errors. I saw that Firefox appears to be blocked by gatekeeper: ``` default 19:57:14.261387-0400 lsd Missing iTunes metadata default 19:57:14.260143-0400 Finder bundle 0x4fd0 is launch-disabled and needs to be set trusted error 19:57:14.315341-0400 Finder LAUNCH: cannot open an app or documents for an app while it is waiting for gatekeeper approval, app=<private> default 19:57:14.317352-0400 dmd Received xpc stream event (distributed notification matching) with name: com.apple.LaunchServices.applicationRegistered user info: { bundleIDs = ( "org.mozilla.firefox" ); isPlaceholder = 0; } default 19:57:14.321031-0400 Finder -[SFLGenericList _insertItem:atIndex:error:]_block_invoke item: C26F61B1-11C7-4C11-8159-A6704802E34F at index: 0 list: com.apple.LSSharedFileList.RecentApplications ``` I've attached a screenshot of the relevant section of I don't think I have anything odd set up on my computer, nor have I messed with Firefox at all. I attempted downloading a new copy of Firefox and installed it, but nothing changed. Any ideas for how to get Firefox running again?

所有回覆 (1)

more options

Some discussion on matrix helped me figure out that it works if I install it to the desktop, but not to /applications

$ open -a ~/Desktop/Firefox.app/ $ open -a /Applications/Firefox.app/ The application /Applications/Firefox.app cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10673 "(null)" UserInfo={_LSLine=3845, _LSFunction=_LSOpenStuffCallLocal}

even though it's exactly the same bundle