I want to troubleshoot entitlements to icloud drive.
An app downloaded on the macOS app store has no entitlements related to icloud.
Its entitlements look like this (removing the irrelevant ones):
[Key] com.apple.developer.maps
[Value]
[Bool] true
[Key] com.apple.security.app-sandbox
[Value]
[Bool] true
[Key] com.apple.security.files.user-selected.read-write
[Value]
[Bool] true
[Key] com.apple.security.network.client
[Value]
[Bool] true
[Key] com.apple.security.network.server
[Value]
[Bool] true
[Key] com.apple.security.personal-information.addressbook
[Value]
[Bool] true
[Key] com.apple.security.personal-information.calendars
[Value]
[Bool] true
[Key] com.apple.security.personal-information.location
[Value]
[Bool] true
I have not manually given it access to the icloud drive.
This app does not appear in the list of app appearing in Settings / iCloud Drive / options.
And yet, this app is able to create its directory inside iCloud drive.
My understanding is that it should not have access to iCloud drive without a specific entitlement.
Is my understanding off, or is this is security bug?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am trying to understand the mechanics of how iOS/iPadOS apps work on macs with Apple Silicon.
In particular, I'd like to understand the runtime environment of these apps.
I installed one to test it on a mac. I ran codesign --entitlements on a mac, on an iOS app downloaded form the mac app store.
I was very surprised to see the sandbox entitement was NOT present.
On iOS all apps are sandboxed, so I was very surprised to see that the macOS translation was not sandbox. This seems like a significant weakening of the security.
Can anyone shed some light on that?
I run some tests for an iOS app, connecting the iPhone to my mac where the code resides.
I notice that it fills the iPhone from system data, until the iPhone is full.
I tried everything to remove the system data (I assume some logs from the XCode testing): reset network, restart the iPhone, remove the tested app, etc. Nothing works. I am stuck with having to erase all data on the iPhone and reinstall from scratch, which is very tedious.
Any suggestions ? Thanks!