What is my username for devicectl?

Hello.

I'm trying to copy files to iOS device into my app's data container from mac and I can't get user name right. What is my user name? I have tried user name as I see it in Settings and also tried my apple ID with no luck.

I use the following command:

xcrun devicectl device copy to --device VALID_DEVICE_ID --domain-type appDataContainer --user "WHAT SHOULD BE HERE?" --domain-identifier VALID_BUNDLE_ID --source Data.zip --destination Documents/Data.zip

Thank you in advance!

Accepted Reply

Your username on an iOS device is 'mobile'.

  • Thank you! That helped. Where did you find this information? For future cases when I will fail to find the needed documentation... And sadly removing files is not possible yet :/

Add a Comment

Replies

Your username on an iOS device is 'mobile'.

  • Thank you! That helped. Where did you find this information? For future cases when I will fail to find the needed documentation... And sadly removing files is not possible yet :/

Add a Comment