AGask450789 (Community Member) asked a question.

Veracode Mobile Application Packager CLI is using a hard coded path

When following the instructions provided by Veracode here: https://help.veracode.com/reader/IT9dCjj7VSZ73aW43yg81Q/wBQqf4sWIfBbPAklWWtwDA I get the following errors:

 

[/Users/Thomasadmin/Desktop/dev/MobileApplicationPackager/vcxcodepkg/ProjectBuilder.swift : 152] Failed to find xcodeproj in temporary path!

 

[/Users/Thomasadmin/Desktop/dev/MobileApplicationPackager/vcxcodepkg/ProjectBuilder.swift : 253] failed to patch xcodeproject with bitcode settings

 

[/Users/Thomasadmin/Desktop/dev/MobileApplicationPackager/vcxcodepkg/CLITool.swift : 271] Failed to build xcworkspace to .bca file, please see above error message

 

I looks like `/Users/Thomasadmin/Desktop/dev/MobileApplicationPackager/vcxcodepkg/` is hard coded. I've attached a screen shot of the command I am running:

 

vcxcodepkg -b=./<REDACTED>.xcodeproj -b=./<REDACTED>.xcworkspace --noui --logfile=./veracode.log

 

Screenshot 2020-10-01 at 11.47.39


  • Hello @AGask450789 (Community Member)​ ,

     

    My understanding is that those error messages are referencing the line(s) of code within the Mobile Application Packager app on which the errors are occurring, as opposed to the directories within your project where the app is referencing. I would suggest re-running the command using the --verbose flag to get more detailed information about the errors that are being thrown. Please give that a try and let me know if you need further support here.

    Expand Post
  • AGask450789 (Community Member)

    Hello,

     

    I agree, these error messages are referencing lines within the Mobile Application Packager (suggesting this is hard coded), to a location /Users/Thomasadmin/Desktop/dev/MobileApplicationPackager/vcxcodepkg/ this is not a location that exists on my machine (I do not have a user called Thomasadmin on my machine). It looks like this CLI has not been packaged correctly?

     

    The verbose flag provides the following information:

     

    Screenshot 2020-10-06 at 10.38.45

    Can you advise when this CLI will be updated?

    Expand Post

Topics (3)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.