gohamgx
gohamgx

Reputation: 273

How to set the Entitlement in Xcode for osx app?

My app needs to save some information as a html file, and if I select the Use Entitlements file and sand box, my app won't be able to save the html file at any location in the file system. If I don't select Use Entitlements, would my app be rejected by Apple?

Also, this version of my app doesn't use iCloud,but my next version might. Can the Use Entitlements and iCloud both be selected or not?

Upvotes: 0

Views: 218

Answers (1)

trojanfoe
trojanfoe

Reputation: 122391

Apple will only accept sandboxed apps for submission into the app store.

In order to save the HTML file, you can ask the user where to save it, in which case you can save it anywhere the user has access, or you could save it into the app's container, where you have unlimited access.

Upvotes: 1

Related Questions