Package Applications with the Veracode Mobile Application Packager Command-Line Tool

IDEs

The Veracode Mobile Application Packager Command-Line Tool allows you to compile and package XCWORKSPACE and XCODEPROJ files or package XCARCHIVE files from Xcode projects into BCA files in an automated environment.

About this task

To package your application with the Veracode Mobile Application Packager Command-Line Tool:

Procedure

  1. Open a command-line window.
  2. Enter a command with the appropriate packaging action and configuration options for the file type you want to package.
    • To compile and package your iOS application with the required Veracode settings, enter vcxcodepkg -b=~<MyProjectFile>. For example:
      vcxcodepkg -b=~/MyProject.xcodeproj -b=~/MyWorkspace.xcworkspace --noui --logfile=~/Desktop/log.log
    • If you have already compiled your application as an XCARCHIVE file, enter vcxcodepkg -a=~<MyArchiveFile> to package the file in the structure Veracode requires. For example:
      vcxcodepkg -a=~/MyArchive.xcarchive --verbose
    When the action completes, results are available at ~/Documents/MobileApplicationPackager/.

What to do next

For more information on the packaging actions available, see Veracode Mobile Application Packager Command-Line Tool Packaging Options.