Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class
265 views

XcodeBuild Translation Issue

HI

iOS source  analysis result cannot be translation.

The error log for the build phase is:

java.lang.NullPointerException
java.lang.NullPointerException
at com.fortify.sca.util.compilers.XcodebuildScraper.addClangJob(XcodebuildScraper.java:365)
at com.fortify.sca.util.compilers.XcodebuildScraper.initialize(XcodebuildScraper.java:230)
at com.fortify.sca.frontend.FrontEndSession.runFrontEnd(FrontEndSession.java:72)
at com.fortify.sca.Main$Sourceanalyzer.run(Main.java:533)
logger:com.fortify.sca.Main marker:DEV thread:sourceanalyzer-10

 

The xcodebuild versions are:
xcodebuild: 11.2.1
swift: 5.0.1
Attach the analysis execution log file.

 

0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

Hi

Which version of SCA are you using

xcodebuild: 11.2.1 is only supported with 19.2.3 which was released in March

does your normal build work?

If all the above is ok - did you open a support ticket - that is probably the best way

Thanks

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.