During the build process of Native Applications it is good practice to pull the latest Live Updates available from each of the web applications that are used in the Portals. This ensures that the native release is shipping with the latest web applications instead of relying on a live update to immediately update.
sync CLI command will query the Live Update service, download, and extract the latest builds for a set of configured Appflow Applications.
When running inside of an Xcode Run Script build step the destination will default to
the root of the built target:
When running under any other context the destination will default to the current working directory.
portals sync [flags]
portals sync [--destination path/to/copy/web/apps]
--destination(string) The location to download the web applications to.
-h, --helphelp for sync
--config(string) config file (default is $PWD/.portals.yaml)