ronaldoussoren / py2app

py2app is a Python setuptools command which will allow you to make standalone Mac OS X application bundles and plugins from Python scripts.
Other
342 stars 36 forks source link

xcrun missing pop-up when app starts #466

Open jbattin83 opened 2 years ago

jbattin83 commented 2 years ago

Catalina 10.15.6 Python 3.8 py2app 0.28.2

I have use case where xcrun cannot be installed on the system running the App.

When the App starts I am notified that xcrun cannot be found via a pop-up. The App continues to run without issue.

I did some grepping around in the dist directly and found some entries in the Makefile, but I don't think they are related to this issue explicitly. Is the requirement for xcrun baked into the binary that kicks off the app? Looking for a way to "disable" the mechanism requiring xcrun so the pop-up will go away.

From the changelog it seems existing versions also assume xcrun exists: Drop support for ancient versions of Xcode

The code now assumes that the “xcrun” command exists and can be used to find converter tools, and no longer contains hardcoded paths for some of the tools for use with Xcode 3.

ronaldoussoren commented 1 year ago

xcrun is only used when running py2app itself, not when running the app created by py2app.

The issue text itself is not clear enough to determine what's going on. Can you reproduce the issue using a project that you can share?