Generate IR to Package iOS and tvOS Apps
After you archive and export your debug build with Xcode, you must run
gen-ir with your build log before you can upload your application to Veracode.
To complete this task:
Open your terminal and change directory to the
gen-irwith your build log and the archive path in the following command:
gen-ir MyApp.log.txt ~/Desktop/Veracode/MyApp.xcarchive/ --project-path /path/to/MyApp.xcodeproj
MyApp.log.txtpoints to the exported build log, and that
MyApp.xcarchive/is the newly-created
Create a new archive. For example, you can use the following
zip -r MyApp.zip MyApp.xcarchive
Upload your iOS application to the Veracode Platform for analysis.
Optionally, to upload your archives with Veracode Software Composition Analysis, add the
Podfile.lockfile to the root of another zipped archive. Keep this new zipped archive separate from the one that contains the
.xcarchivefolder, as shown in the following command:
zip MyApp-Podfile.zip Podfile.lock
MyApp-Podfile.zipto the same scan as the
MyApp.zipthat you previously uploaded.