Unable to launch MongoDB On MacOS Monterey | Error MongoDB Compass” can’t be opened because Apple cannot check it for malicious software - mongodb

I am unable to use MongoDb Compass on MacOS Monterey With Following Error. I tried every possible solution to resolve it.
ERROR: “MongoDB Compass” can’t be opened because Apple cannot check it for malicious software.
reinstallation of application , Restart machine , Open Anyway Option, Control + click and open from FInder. still MAc is not allowing to launch it and says
“This software needs to be updated. Contact the developer for more information.”enter image description here
Tried following too.
enter image description here
Did try : “MongoDB Compass” can’t be opened because Apple cannot check it for malicious software
None of above worked.

From support.apple.com
Apple can’t check app for malicious software
Using an app that can’t be checked for malicious software might harm
your Mac or compromise your privacy. If you’re certain that the app
you want to use is from a trustworthy source, you can override your
Mac security settings to open it.
In the Finder on your Mac, locate the app you want to open.
Don’t use Launchpad to locate the app.
Control-click the app icon, then choose Open from the shortcut menu.
Click Open.
The app is saved as an exception to your security settings, and you can open it at any time by double-clicking it, just as you do with
any registered app.

Here's How I did it. Finally...
open New Terminal Window -> Run Following
sudo spctl --master-disable
then I got **
Anywhere
** option In system Preferences -> Security & Privacy -> Open Anyway
Then Clicked on Open and it Launched.
Note: Run following command once you open your App to save your machine from malicious Software in future.
sudo spctl --master-enable
Refrence: How to Make Mac Allow Apps Downloaded from Anywhere 2022

Related

Flutter: Building with plugins requires symlink support

I am getting the below error in log whenever I try to install any dependency in pubspec.yaml
Building with plugins requires symlink support.
Please enable Developer Mode in your system settings. Run
start ms-settings:developers
to open settings.
exit code 1
In lib folder, there is file named generated_plugin_registrant.dart which is also showing error, might be linked to above log error.
//
// Generated file. Do not edit.
//
// ignore_for_file: lines_longer_than_80_chars
import 'package:firebase_core_web/firebase_core_web.dart';
import 'package:printing/src/printing_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
// ignore: public_member_api_docs
void registerPlugins(Registrar registrar) {
FirebaseCoreWeb.registerWith(registrar);
PrintingPlugin.registerWith(registrar);
registrar.registerMessageHandler();
}
This worked for me:
on Windows 11 go to settings:
Click on Privacy & Security and after, click on for developers option.
On for developers settings, activate the Developer mode option (Install apps from any source...).
Now try to run/build your flutter application with flutter run -d windows or flutter build windows command.
Hey I was having the same problem I just activate the development settings and run again it works for me use the command :
start ms-settings:developers
Installation of some plugins required special allowance.
This requires permission for windows which is available in For Developer.
It is much like Install from unknown source type permission.
How to allow permission:
Search Developer Settings in the start menu and open it. Under developer mode click on Install apps from any source, including loose file.
Run pub-get again and you are good to go.
I'm not sure, how relevant is my answer. I got the same error, but the problem is as follows.
I accidentally change the device to 'Windows machine' instead of my mobile in VS Code.
If you really want to run apps on Windows platform, you can choose other options.
Go to Windows settings. Select Update & Security. On that, select For Developers. In that window, there is an option called Install apps from any source, including loose files on the Developer Mode. Enable that option.
If you feel uncomfortable turning on Developer Mode to allow side loaded apps and you aren't targeting Windows OS, you can avoid doing flutter pub add package_name. Instead, clear out the old package with dart pub remove package_name manually edit your pubspec.yaml with the dependency and do a flutter pub get.
This happens when you are running on flutter 3.0 and above;
The error only occurs when your selected device is Windows OS.
If your are not developing a windows application, you can just change your selected device to your android emulator or your physical mobile phone.
If you are developing a windows application then you need to turn ON developers option on your windows device to allow debugging.
For Windows 10 Go to cmd add this command > start ms-settings:developers
it will appear Settings Window
allow developer mode Allow developer mode
directly go to search of window and search
developer settings
and you will see the
developer mode and make it yes.
First, run the command line interface with run administrator
and then run this command
start ms-settings:developers
pop will come with privacy setting just enable developer mode it.

Uninstalling PWA for development testing (windows)

I installed my PWA on windows through developer's console, and now can't uninstall it to test installing it. I've tried removing service worker from chrome, but it will just get reregistered after I open the PWA through windows (if server is on). When I right click on it and choose uninstall it takes me to windows app and features there's no entry for it, meanwhile the actual shortcut for it surely just leads to chrome with app ID in URL. Trying to install the PWA after everything I've tried will not give me the prompt again to add it to homescreen.
url: makpal.now.sh
screen:
The PWA apps reside in apps menu chrome://apps/ of chrome, and quite possibly exclusively under a different tab (a grayish second bar at the bottom of window), which is where you'd get the option to delete them that works.
EASY STEPS to Remove (uninstall) PWA App on Desktop:
1) Open Chrome Browser
2) Click > Apps button
3) Right click > App you want to remove
4) Select > Remove from Chrome... > Remove.
5) App gone. :)
On Mobile: drag to trashcan.
If you installed PWA using chrome then paste below in chrome URL bar and hit enter:
chrome://apps
Right click on desired app and click remove from chrome
Found the list of PWAs here.
C:\Users\{username}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Chrome-Apps
You can delete them from there.
If you have installed to Windows OS using developer console, I assume you have done it using the Chrome menu -> "Install to desktop" (if it comes as "add to desktop, it means your site is not meeting minimum PWA cirteria).
If you have installed in any other way, please be specific on what option you have used. It also contradicts at the end of your question, where you were complaining on "Install prompt" is not coming again for "add to home screen". From all I know, install prompt is not supported in Chrome for Windows yet(I know it works in Chrome for Android).
On your other question on service worker getting re-registered every time you visit, that's how they are supposed to work. They will get registered even if you visit a PWA site(adding to home screen is not needed, it will still register service worker and you get all caching benefits)
You can test all these PWA behaviors for this PWA compliant site -> https://pwa.rocks/
If you need more clarity, please rephrase your question to what exactly is happening and what use case is failing, along with supporting code. A link your your site will be best to debug for the community, if that's publicly available.
The Most useful answer I found: (for chrome)
Open Chrome and go to apps
Right click the PWA you want to remove
Click on "Remove from Chrome..."
I faced the same issue when I was built my first PWA and then when I Open anything else with live server it directed me to my PWA site.
You can also go to you windows control panel \ programs then uninstall from there. ( Referring to the PWA that you installed, not uninstalling the browser )

UWP's 'Add-DevAppPackage' Powershell script checks for a developer licence. This is an issue for Sideloading?

I'm developing a LOB (Line-of-Business) UWP project, we're hoping to distribute the app as a .appxbundle file, alongside a .cer and a Powershell script. This is what is generated in the package for you when you generate a bundle from Visual Studio by selecting Project->Store->Create App Packages...
The problem I have is that the Powershell script, Add-DevAppPackage.ps1, has a check for a developer licence in it. Specifically it calls the powershell cmdlet Get-WindowsDeveloperLicense. If this doesn't return anything it sets a variable which eventually calls Show-WindowsDeveloperLicenseRegistration which shows a popup forcing the user to put their Windows 10 device into 'Developer Mode'. If the user doesn't do this, then the Script fails and the user can't install the app.
If we remove this check for a Developer Licence, the script acts as I'd expect and Installs the App, alongside the certificate, with no issues when the Windows 10 machine is either set to 'Sideload Apps' or 'Developer Mode'. The problem now arises when the users device is in the mode of 'Don't use developer features'. The script crashes.
Is there a way of finding out if the current device is in 'At Least' Sideload apps mode, and if it isn't, show a dialog to prompt the user to enable it?
Currently users have to enable Developer Mode to be able to sideload an app, which I'd prefer they didn't have to do. I'd fully expect users to only have to enable 'Sideload apps'
Is there a way of finding out if the current device is in 'At Least' Sideload apps mode, and if it isn't, show a dialog to prompt the user to enable it?
AFAIK, there is no way to detect whether the Sideload apps mode is enabled for now. And we have no access to show a dialog to prompt the user to enable the sideload apps.
The problem now arises when the users device is in the mode of 'Don't use developer features'. The script crashes.
This is because when install apps in Sideload apps mode, you need to install the app with its trusted certificate. All UWP apps must be signed with a certificate.
Currently users have to enable Developer Mode to be able to sideload an app, which I'd prefer they didn't have to do. I'd fully expect users to only have to enable 'Sideload apps'.
Before create the package of your project, you can open the manifest file and in the Packaging lable:
Here you can choose which certificate to use to sign your app. If you don't want to modify this, it's OK, cause when you packaging your app, a certificate file will automatically generated, and you said you are hoping to distribute the app as a .appxbundle file, alongside a .cer and a Powershell script. In Sideload apps mode, the Powershell script file is not needed. You can just copy the .appxbundle file and a .cer file, and
Enable the Sideload apps mode.
Click the .cer file to trust this certification.
Click the .appxbundle file to install your app.
When the Sideload apps mode is enabled, please don't use .ps1 file to install the app.

NetBeans can’t be opened because the identity of the developer cannot be confirmed

I was trying to install Netbeans on my Mac but it gives me this error:
NetBeans 8.0.1 with JDK 8 Update 20.mpkg" can’t be opened because the identity of the developer cannot be confirmed.
Any idea on how to solve this problem?
You can override your OS security settings in your system preferences to open it.
https://netbeans.org/projects/www/lists/netcat/archive/2014-09/message/23
System Preferences > Security & Privacy > General
You will see a message:
"NetBeans 8.0.1.mpkg" was blocked from opening because the identity of the developer cannot be confirmed.
You have to click the lock icon at the bottom of your preferences window, in order to make changes.
Then select the "Anywhere" radio button for the "Allow apps downloaded from:" option.
Then you'll be able to open the NetBeans installer. Then, after installing, go back and change your preference back to the default.
This is currently an open bug.
To work around the bug, change your security settings to "Allow apps downloaded from anywhere", and run the installer. Once installation is complete, you can revert your security settings and run NBIDE normally.

The debugger was unable to find the registration for the target application

I am testing my Windows 8 app by logging in as the guest account. I want to see how it works installing with limited permissions.
It seems I cannot debug any apps. Here are the steps:
Login as the Windows 8 Guest Account
Open Visual Studio.
Create a new Windows Store app, using the grid template
Click the play button to deploy to the simulator or the local machine.
Upon deployment, I receive this error:
Unable to debug Windows Store app App1/App1/bin/Debug/App1.exe
The debugger was unable to find the registration for the target application. If the problem persists, try uninstalling and then reinstalling the application.
Am I unable to deploy apps without being an administrator? If not, is there a way around this problem?
It doesn't make sense to try to debug installing an app as a guest. Guest accounts are not allowed to install apps. There is a short forum post regarding accounts here.
If you are wanting to see how the app performs for a guest after it has already been installed, you can run the app from the desktop tile, but I don't know how to run the debugger on it, or even if you can.