You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue when trying to build my app using py2app. The error message I receive is:
macOS 11 (1107) or later required, have instead 11 (1106)
I have updated my macOS to version 11.7.10, but the error persists, and it seems that the build process is not recognizing the updated version. I have attempted setting MACOSX_DEPLOYMENT_TARGET manually, but it didn't resolve the issue.
Steps to Reproduce:
Update to macOS 11.7.10.
Use py2app to bundle a Python app.
Run the following command: python3 setup.py py2app
Encounter the error: macOS 11 (1107) or later required, have instead 11 (1106).
Environment Details:
macOS Version: 11.7.10
Python Version: 3.10 (via pyenv)
py2app Version: 0.28.8
Other Dependencies: None
Relevant Files:
Example setup.py:
fromsetuptoolsimportsetupAPP= ['myApp.py'] # Replace with the name of your main Python fileOPTIONS= {
'argv_emulation': True,
'plist': {
'CFBundleName': 'SMuFLview',
'CFBundleDisplayName': 'SMuFLview',
'CFBundleIdentifier': 'com.yourdomain.smuFLview',
'CFBundleVersion': '0.1',
'CFBundleShortVersionString': '0.1',
},
}
setup(
app=APP,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)
What I’ve Tried:
Manually setting MACOSX_DEPLOYMENT_TARGET=11.7 before running setup.py.
Upgrading to the latest version of py2app via pip.
Verifying my macOS version using python3 -c 'import platform; print(platform.mac_ver())', which returns '11.7.10'.
Is this a known issue with py2app or could it be related to my specific setup? Any guidance would be appreciated!
The text was updated successfully, but these errors were encountered:
I'm encountering an issue when trying to build my app using py2app. The error message I receive is:
I have updated my macOS to version 11.7.10, but the error persists, and it seems that the build process is not recognizing the updated version. I have attempted setting MACOSX_DEPLOYMENT_TARGET manually, but it didn't resolve the issue.
Steps to Reproduce:
python3 setup.py py2app
macOS 11 (1107) or later required, have instead 11 (1106)
.Environment Details:
pyenv
)Relevant Files:
What I’ve Tried:
Is this a known issue with py2app or could it be related to my specific setup? Any guidance would be appreciated!
The text was updated successfully, but these errors were encountered: