Post not yet marked as solved
My application needs to get the element (file or window) being dragged by left mouse click, anywhere in the system. For that I use "AXUIElementCopyElementAtPosition" to get AXUIElementRef. But this function does not work in a sandboxed app. Is there any other way to accomplish my task or can I get temporary entitlement to use that function? Also, how do I request apple for the necessary temporary entitlement? (I have already filed a bug in bugreport.apple.com - bug id: 40927478)
Post not yet marked as solved
In my osx app, after receipt validation, if the receipt is missing or its invalid, am calling exit(173), which should quit the app and show an appstore login prompt.But it is not prompting and hence I cannot a sandbox receipt for validation.Also upon reviewing teh Console.app it show sandbox violation.What do i do?
Post not yet marked as solved
One of the functionality in my macOS app needs to run an applescript. The required script file is in the app bundle. On first run, the user is prompted to select the "ApplicationScripts" folder so that the app copies the script file from bundle and to the App Scripts folder. From there on the app can run the script, upon user action.The app was rejected quoting review quidelines -2.4.5(ii) - Your app requires or is designed to work with helper scripts which is an optional install.2.4.5(viii) - Your app installs code in shared locations. Specifically, the app installs helper scripts.I don't clearly understand the reson for rejection and also is there a prover way to run scripts without violating review guidelines?