We ask for the âlocationâ entitlement because we canât know if youâre actually going to use the userâs location but the facility exists in CoronaSDK to do so. Â I will remove that default and figure out another way to allow people to specify the entitlements they actually need.
Hi Tommy, we got a rejection for exact the same reason today. I expect you also did the sandboxing with the new Corona functionality in the daily builds? I donât know where these entitlements can be set. Perhaps there is an external list somewhere. Cheers, Tobias
The solution is to give Engineering time to solve the problem. It just got reported early this morning. Corona for OS-X is still a BETA product. The reason itâs in beta is to find problems like this. Hopefully we can find a solution and will get it out in a daily build.
My app was rejected again even though I put in the following into the build.settings:
osx = {
    entitlements = {
      [âcom.apple.security.personal-information.locationâ] = true,
    },
  },
I am not sure if other entitlements need to be listed and what they are or if I should have made the âlocationâ entitlement false. Also when creating the App ID I am not sure what I should include because I am not sure what the Corona SDK supports. I had originally picked âGame Centerâ and âPush Notificationsâ so I could use them in the future but I donât know if that is creating problems or not.
This is what I received from Apple this time but the first one I received only had info about âcom.apple.security.personal-information.locationâ:
2.31Â -Â Apps that are not sandboxed appropriately may be rejected
2.31
This app uses one or more entitlements which do not have matching functionality within the app. Apps should have only the minimum set of entitlements necessary for the app to function properly. Please remove all entitlements that are not needed by your app and submit an updated binary for review, including the following:
See App Sandboxing for links to essential video and documentation to learn how to sandbox your application.
Commonly added entitlements that many apps donât need include:
âcom.apple.security.network.serverâ
Apps that initiate outgoing connections (for example, to download new content from your server) only need to include âcom.apple.security.network.clientâ. The server entitlement is only necessary for apps that listen for and respond to incoming network connections (such as web or FTP servers).
âcom.apple.security.device.usbâ
Apps that interact with non-standard USB devices, including HID accessories such as joysticks, may need to include this entitlement. It is not necessary for accessing keyboards, mice, trackpads, printers or external drives such as thumb drives.
Are you using location services in your application? If not, then remove the entitlements section from your build.settings
The recent fix was to stop Corona from always asking for the location entitlement and the change you made to your app just made it do it again.
If you are using location services in your OS X app then you may need to respond to the review explaining to the reviewer how they are used and what steps to perform in the app to make them apparent.
I am not using Location services but I kept it set to âtrueâ because that is what the example code was on the âhttps://docs.coronalabs.com/daily/guide/distribution/osxBuild/#entitlementsâ page and I did not understand that it was not enabled on OS-X yet. I would suggest that you put a little blurb by that code that says it is not enabled on OS X yet or set it to âfalseâ in the example code.
What is your reco for what to enable when creating an App ID? Is there any issues if âGame Centerâ and âPush Notificationsâ are enabled for when these become available in the future and if these are enabled does that affect entitlements?
What is your reco for what to enable when creating an App ID? Is there any issues if âGame Centerâ and âPush Notificationsâ are enabled for when these become available in the future and if these are enabled but not used in the app does that affect entitlements?
I donât know about push, but I know Game Center is not supported yet. Apple will likely reject your app if you have those on and are not using them. You can always turn them on later.
Are there any entitlements needed for creating and writing files via a OS X app (i.e⌠a file that gets created and updated for new high score)? Also is it the same code for creating and writing files via a OS X app as for iOS app?