Proper boolean value for LSRequiresNativeExecution key
According to the page for "Building a universal macOS binary", I see the following excerpt: "If you never want users to run your app under Rosetta translation, add the LSRequiresNativeExecution key to your app’s Info.plist file. When that key is present and set to YES, the system prevents your app from running under translation."
I have an app for the Acme text editor, and it runs a script as the CFBundleExecutable. According to the same page above, it says "For example, the system runs script-only apps under Rosetta translation." I do not want Acme to run under Rosetta translation. I am trying to force it to run with native execution. If I set the value of the LSRequiresNativeExecution key to <true/>, it does not obey the key and does not force native execution. However, if I set the value for that key to <boolean>true</boolean>, it does force native execution. Only problem is, I don't think <boolean>true</boolean> is valid syntax for a plist as if I reset the LaunchPad, the app is no longer available to launch. It disappears. If I switch it back to <true/>, the app is available to launch but does not run with native execution again.
My question is, is there a syntax where "set to YES" is viable? I tried <string>YES</string> but that does not work.
MacBook Pro (M2 Pro, 2023)