Custom macOS application bundle requires Rosetta even through it shouldn't
8
votes
2
answers
490
views
Since there is currently no [DrJava](http://www.drjava.org/) application bundle for macOS, I thought I could be the one to make it because I want to use it anyway. From just searching on the internet I made the following application bundle:
- DrJava.app
- MacOS
DrJava # this is a shell script that runs java -jar drjava.jar
drjava.jar
- Resources
DrJavaIcon.png
DrJavaSearchIcon.png
Info.plist
And my Info.plist
looks like:
CFBundleName
DrJava
CFBundleExecutable
DrJava
CFBundleIcon
DrJavaIcon.png
The issue with this is that when I try to run the app, it tells me that I need to install Rosetta to do so.
However, this is simply not true. I can run ./DrJava
and it will run perfectly fine without rosetta. My current guess is that there's a key in Info.plist
that will indicate the architectures that are compatible with this bundle. But I haven't been able to find any such thing.
PS: Due to personal reasons, I don't want to make an Apple ID. As such I'm not trying to not install Xcode for as long as possible. I understand that this will make things more difficult, but I am committed.
Asked by octagonalhuman
(101 rep)
Dec 18, 2022, 02:13 AM
Last activity: Aug 5, 2024, 09:01 PM
Last activity: Aug 5, 2024, 09:01 PM