Archive and Export with Xcode
After you create a scheme in Xcode, you can archive and export your debug build.
To complete this task:
Create a new
Veracode
folder, for example:~/Desktop/Veracode
.From the top menu bar in macOS, select Product > Archive. Your archive builds, and the Xcode Organizer highlights your archive.
If the Archive option is disabled, from the top of Xcode select your device from the breadcrumb menu, and then choose Any iOS Device.
Right-click your archive, and then select Show in Finder.
Copy your archive, and then paste it into your new
Veracode
folder.Rename your xcarchive by removing everything after the name of your app. For example, rename it from
MyApp-Veracode 31-12-2222, 12.45.xcarchive
toMyApp.xcarchive
.From the top-left in Xcode, click the Report Navigator icon, and then select Local.
Select the latest archive report.
From the top right in Xcode, click Export....
Save the build log to the
Veracode
folder. For example,MyApp.log.txt
.