Since I work with Xcode and plug in and out iOS devices multiple times per day, I don't want iTunes to automatically backup them every time I plug them in. But at the same time I would like to have a daily backup of the devices.

So I was wondering - is there a way to trigger iOS sync with a terminal command, so then it can be scheduled to run every day?

  • 1
    Check this very old article. I think it should still work. The path changed to /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/reenumerate_ios_devices. Apr 4, 2017 at 8:21

1 Answer 1

  1. Find your device Product ID and Vendor ID from System Information.app in the Utilities folder.

  2. Run the following

    /System/L*/Priv*/MobileD*/V*/A/reenumerate_ios_devices vendorid productid

    Replace ‘vendorid’ with your Vendor ID and ‘productid’ with your Product ID.

  • 1
    Have the same IDs, so ran the command: "/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/reenumerate_ios_devices 0x05ac 0x12a8" but nothing happens.
    – Blackbeard
    Apr 4, 2017 at 10:08
  • Anything new on this one?
    – Blackbeard
    Aug 17, 2017 at 13:18
  • This ist not available Bro. ls -1 /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/
    – BabyBoy
    Apr 5, 2022 at 20:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .