-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different end results for the same xcarchive and log file #55
Comments
For e.g. Our Objective: Afaik, Veracode does not support scanning an iOS framework or xcFramework and so we followed the below steps. The issue: |
Thank you for your report - I'll raise this internall today. In the meantime, could you try the same run against our latest As for the issue with frameworks - you can scan frameworks as standalone artefacts with Veracode SAST. You may need to adjust your build settings so that Xcode correctly places your framework into the |
Hi, thanks for the reply. We tried with the alpha version and the results seems to be promising and consistent 👍 While, the other thing, scan framework as standalone artefacts, I tried to upload a archive of framework target on veracode portal (after gen-ir cmd) but the I am seeing this issue after pre-scan Could you enlighten me how to scan framework as standalone artefacts, is there any documentation or steps? |
Hi @KrishnaRLolage, It may be worth opening a support ticket so we can inspect the upload and determine what may need to change in your packaging. Glad to hear that the alpha version resolves your issue. In general, you can set the |
while using SKIP_INSTALL=NO, the gen-ir command fails with below error, even for a app target. Error: tooManyDirectories("Expected exactly one target folder at path: file:///<project_path>/Intermediates.noindex/ArchiveIntermediates, but found: [].\nPlease manually clear your derived data before rebuilding.") |
We have an archive with two targets, one is building a framework (xcframework) and another one is building the app that is consuming the framework. When we run gen-ir multiple times with the same xcarchive and log file we get different end results -> size of the xcarchive after running gen-ir is in range between 700 MB and 3 GB. When we scan files smaller than 1 GB we get partial results (only app files are scanned, framework files are not scanned).
After running gen-ir in the IR directory we have .framework and .app. When we get a valid result (files greater than 1 GB) we have all the files from .framework also in the .app directory. When we get a file smaller than 1 GB, in the .app directory we don't have any framework files.
The text was updated successfully, but these errors were encountered: