Description

 When packaging an ios project, many alerts were seen for missing source file and folders as shown in the screenshot below:


 

Observed in CAST AIP
Release
Yes/No
8.2.x(tick)
8.1.x(tick)
8.0.x(error)
7.3.x(error)
Observed on RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS2(tick)
Step by Step Scenario

Below is the step-by-step scenario leading to the problem:

  1. package an ios application
  2. notice a large amount of alerts
Impact of the Problem

The impact of the problem on the analysis or the dashboard is:  No impact

Action Plan

To resolve the issue, proceed as follows:

  1. For alerts for missing files :
    The warnings are normally legitimate as they refer to files that are not part of the delivered code. Please review the delivered code to make sure that all files for the application are part of the delivery.  See the documentation for more information on this step.  For CAST 8.2, please see the following and the section "Handling Alerts":  Packaging alerts
    In some cases, the alerts may be about files which are not analyzed (for instance .json files), which can then be safe to ignore.
  2. For alerts for missing folders :
    Review the delivered code to make sure that all files for the application are part of the delivery.  See the documentation for more information on this step.  For CAST 8.2, please see the following and the section "Handling Alerts":  Packaging alerts
    These generally will not disturb the analysis because the content of those folders (the .m or .h files) is still correctly referenced.
    This is normally a non-blocking DMT issue in the discovery when dealing with folder references that point outside of the project tree of the application.
  3. The proper packaging can be confirmed during the analysis by reviewing the file generated by this step in the analysis: 
Detailed information about missing headers written to file... 

Ideally this file should be empty.

  

Notes/comments
Ticket # 8707
Related Pages