Closed Yogehi closed 6 years ago
If we can I want to fix this not by disabling functionality, but instead fixing the core issue. Possible solutions are to present the app picker for this module so the user can choose an app and set the bundle id, or alternatively we can set the bundle_id as an argument, but I think plan A is better.
Agree with @HenryHoggard
Currently, line 171 of "code_checks.py" instructs Needle to carry out "add_issue" within "/needle/core/framework/module.py". This function requires the following info:
The issue is that "self.APP_METADATA['bundle_id']" requires the user to have obtained the metadata of an application on their iPhone. One way to obtain this information is to run the module "binary/info/metadata".
The proposed fix tells Needle to not run "add_issue" within "module.py". This allows the static code check to complete without having to rely on "self.APP_METADATA['bundle_id']" not being NULL.