This command runs copy and then update.
npx cap sync [options] [<platform>]Inputs:
platform (optional):
android,
iosOptions:
--deployment: Podfile.lock won’t be deleted and pod install will use
--deployment option.The following hooks are available for sync command:
capacitor:sync:beforecapacitor:sync:after