macOS Monterey: "This app will not work with future versions of macOS"

Hi,

I'm the developer of a macOS application named Hopper Disassembler.

I have updated my application so that it works properly under macOS Monterey. But I'm getting a warning when I first launch the application: "Hopper Disassembler needs to be updated. This app will not work with future versions of macOS..."

Unfortunately, the "Learn More…" button does nothing, and I don't see any relevant message in the Console application.

The application is a universal binary, containing both Apple Silicon and Intel 64 bit architectures.

How can one find why this warning is triggered?

Thank you!

Is it sandboxed ? Ar at least notarised ?

Thank you for your response. The application is not sandboxed, because it would break some of the features. But it is notarised, yes. In the console, I can see messages regarding the verification of the notarisation, there is no issue on that side.

https://developer.apple.com/documentation/macos-release-notes/macos-12-release-notes#Python

If an app uses Python 2.7, macOS now triggers an alert indicating that the developer must update the app to ensure it will work in future versions of macOS. (80221011)

Your app may be getting that error because it's using a deprecated version of Python.

  • IntelliJ was also getting the same error: https://youtrack.jetbrains.com/issue/IDEA-216133
  • CodeWeaver's CrossOver was (or is?) dealing with the same issue.

For the curious, here's how the prompt looks:

@bSr43 Did you file a bug report or contact Apple support directly ?

@Claude31 Not yet, but this is what I've planned to do if I'm unable to sort it out with my next attempt (i.e. replacing usages of WebKit)

Hi @bSr43, this issue is now more than a warning on macOS 12.3 -- it won't even start because of the Python linking

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Hopper Disassembler v4 [39280]
Path:                  /Applications/Hopper Disassembler v4.app/Contents/MacOS/Hopper Disassembler v4
Identifier:            com.cryptic-apps.hopper-web-4
Version:               4.5.29-demo (4.5.29-demo)
Code Type:             X86-64 (Translated)
Parent Process:        launchd [1]
User ID:               503

Date/Time:             2022-03-01 13:25:27.9372 -0800
OS Version:            macOS 12.3 (21E5206e)
Report Version:        12
Anonymous UUID:        9B77F7F9-7508-220F-103F-00FDAB632535

Sleep/Wake UUID:       0563712E-352D-4EBF-801C-E0CC153B224F

Time Awake Since Boot: 980000 seconds
Time Since Wake:       137212 seconds

System Integrity Protection: disabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/Hopper Disassembler v4.app/Contents/MacOS/Hopper Disassembler v4
Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)
(terminated at launch; ignore backtrace)

Application Specific Information:
Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/Hopper Disassembler v4.app/Contents/MacOS/Hopper Disassembler v4
Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)

I have ran into this issue myself today and what i found out is that Apple removed the python(2.7) framework(previously found in /System/Library/Frameworks/Python.framework), this is why you get the error. What I did and worked for me was to install python 2.7 from the official python website. This will install as a normal application and afterwords you will get the framework in /Library/Frameworks/Python.Framework .

This worked for me, hopefully for you guys as well

Hi Tommie18

how did you get the framework in /Library/Frameworks/Python.Framework? i reinstalled python 2.7 from official python website and i do not have a folder /Library/Frameworks/Python.Framework

macOS Monterey: "This app will not work with future versions of macOS"
 
 
Q