mac-app-store

Submitting sandboxed MonoMac app without accessing shared memory?

亡梦爱人 提交于 2019-12-10 17:14:05
问题 I have a Sandboxed MonoMac based application in the MacAppStore, with the latest update to the app pushed to MAS I received a message from Apple that the application accesses /dev/shm, and that this update will be allowed but future updates must not access /dev/shm. I'm not using any shared memory in my application so I'm assuming this is because parts of MonoMac is using Shared memory (which would make sense). How can I possibly work around this in the future? 回答1: The shared memory access

Bug that only appears in archived Mac OS X product

寵の児 提交于 2019-12-10 10:25:18
问题 My friend and I are developing an app for the Mac app store. We submitted it to the app store but Apple rejected it on the basis of a bug we'd never experienced before ourselves. We had a hard time reproducing the error, but after quite some time debugging we found out that the bug only appears in an archived product. The symptom of the bug is that some of the buttons in our app suddenly stop responding after using the app for a random amount of time. The only time we see this problem is in

Verifying the purchase (receipt) of another application (Mac App Store)

丶灬走出姿态 提交于 2019-12-08 03:41:41
问题 TL;DR: Is there a way to verify that a user has purchased another app (of mine) from the Mac App Store? In a brief, I want to completely rebrand one of my applications on the Mac App Store. The current version is very buggy and has a user base of nearly 90% pirates. I want to shut down the old application and completely rebrand it as a new product. However, I don't want to completely screw over my current, legitimate customer base. I am hoping there is a solution to this. The way I was hoping

How to Run a Shell Script with Mac App Sandbox Enabled?

好久不见. 提交于 2019-12-08 01:32:06
问题 Is it possible to have an app, that runs within the sandbox, execute a shell script? The script makes use of two basic commands: defaults write killall I know that there are some exceptions to the sandbox, that can be added via the entitlements file, but not sure wheter it would be possible to have the user confirm the execution of the small script and then run it? Please give me a practical hint... When I run my app with sandbox off, everything works fine. With sandbox on both commands are

Mac App Store App and identifierForVendor

别来无恙 提交于 2019-12-07 11:14:31
问题 To uniquely identify an App in iOS 6 and above you use this code: UIDevice.currentDevice().identifierForVendor Is there an equivalent for Mac OSX? 回答1: The MAC doesn't have anything equivalent to iOS's identifierForVendor or advertising Id alas. 回答2: For the record and users searching SO for this matter: Apple documentation about validating a purchase receipt gives the implementation tip to get the GUID of a Mac, as the equivalent procedure for identifierForVendor: Get the GUID in macOS It is

How to Run a Shell Script with Mac App Sandbox Enabled?

混江龙づ霸主 提交于 2019-12-06 07:42:15
Is it possible to have an app, that runs within the sandbox, execute a shell script? The script makes use of two basic commands: defaults write killall I know that there are some exceptions to the sandbox, that can be added via the entitlements file, but not sure wheter it would be possible to have the user confirm the execution of the small script and then run it? Please give me a practical hint... When I run my app with sandbox off, everything works fine. With sandbox on both commands are not working and this is shown in the console: killall: warning: kill -TERM 12322: Operation not

How do you set a background image for your app listing in the Mac App Store? [closed]

送分小仙女□ 提交于 2019-12-06 04:43:14
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Take Pixelmator for example: http://appstore.com/mac/pixelmator How do they have a background image set? As far as I know, you have to be specially selected by Apple in order to do this; it's not something all developers can do unfortunately. 来源: https://stackoverflow.com/questions/16525408/how-do-you-set-a-background-image-for-your-app-listing-in-the-mac-app-store

Mac App Rejection - Temporary Exception Entitlement Key for Safari

我只是一个虾纸丫 提交于 2019-12-06 04:19:06
Let's consider an app doing the following steps using AppleScript, in order to auto-login to some website: 1- Open "Safari" and navigate to website 2- Fill the username and password fields with JavaScript do JavaScript " document.getElementById('password_input').value = 'userPassword' " 3- Submit form using JavaScript --- do JavaScript " document.forms['login_form'].submit() " For a sandboxed Mac app, com.apple.security.temporary-exception.apple-events entitlement key must be added for "Safari", in order to execute AppleScript procedure above. <key>com.apple.security.temporary-exception.apple

Accessibility API stops working after sandboxing

大城市里の小女人 提交于 2019-12-06 03:31:19
问题 My Mac App uses accessibility API to move an resize window (of other apps). I would like to submit my app to the MAS (Mac App Store). I have read that to submit an app to the MAS is mandatory to turn on sandboxing. When I turn on the sandboxing my code can´t find the focused window through the accessibility API (always return NULL). The question is: the accessibility API can´t be used with sandboxing? I notice that there are applications in the Mac App Store that uses accessibility API, is

Mac App Store App and identifierForVendor

≡放荡痞女 提交于 2019-12-05 18:13:53
To uniquely identify an App in iOS 6 and above you use this code: UIDevice.currentDevice().identifierForVendor Is there an equivalent for Mac OSX? The MAC doesn't have anything equivalent to iOS's identifierForVendor or advertising Id alas. For the record and users searching SO for this matter: Apple documentation about validating a purchase receipt gives the implementation tip to get the GUID of a Mac, as the equivalent procedure for identifierForVendor: Get the GUID in macOS It is MAC address based, but is the choice of Apple for purchase hash control. 来源: https://stackoverflow.com/questions