Package vs Archive in Project Launcher - BuildCookRun

What is the intended purpose of the Archive option in Project Launcher?

I am assuming that the build intended for release is the “Package” option because looking at the source, I found that the “Deploy” step uses these files for deploying to the target.

So what is “Archive” for and how does the output differ from what is in the “Package” output?

Also, if using the BuildCookRun commandlet I believe that the options are “Archive” = -archive and “Package” = -stage

Any clarification is appreciated.

I would like to know it too…

There is no difference on most platforms, but for macOS targets the archive command creates the app bundle. See the ProcessArchivedProject function in MatPlatform.Automation.cs for more details.

1 Like