Absent Member.
Absent Member.

Scanning Swift Projects


I am new to forum, so I hope I use it correctly. I am currently supposed to analyze an IOS app written with SWIFT 3.0.2. I installed the Fortify plugin for Xcode (version 7.3). When I run the test, it gives the following error. I'll appreciate if you can tell me how i can fix this problem. By the way, the app is successfully built with Xcode.

Best Regards,



An error occured while performing swift translation: 2017-01-18 16:34:00.251 xcodebuild[27754:618914] [MT] PluginLoading: Required plug-in compatibility UUID E0A62D1F-3C18-4D74-BFE5-A4167D643966 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FortifyScanningPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs

<unknown>:0: error: module file was created by a newer version of the compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/swift//macosx/x86_64/Swift.swiftmodule

[error]: An unrecoverable error occurred during translation.


Execution backtrace:

0  swift-translator         0x000000011013392b llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 43

1  swift-translator         0x000000010df91819 hpe::FortifyException::FortifyException(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 329

2  swift-translator         0x000000010df918da hpe::FortifyException::FortifyException(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 74

3  swift-translator         0x000000010df912ec hpe::signalHandler(int) + 60

4  libsystem_platform.dylib 0x00007fffba3c1bba _sigtramp + 26

5  swift-translator         0x000000010dfbcf26 llvm::SmallVectorImpl<swift::DiagnosticArgument>::operator=(llvm::SmallVectorImpl<swift::DiagnosticArgument>&&) + 262

6  swift-translator         0x000000010e308e17 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) + 311

7  swift-translator         0x000000010e307939 swift::TypeChecker::typeCheckFunctionBodyUntil(swift::FuncDecl*, swift::SourceLoc) + 361

8  swift-translator         0x000000010e30827b swift::TypeChecker::typeCheckAbstractFunctionBody(swift::AbstractFunctionDecl*) + 203

9  swift-translator         0x000000010e29d956 typeCheckFunctionsAndExternalDecls(swift::TypeChecker&) + 182

10 swift-translator         0x000000010e29e5dd swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int) + 1821

11 swift-translator         0x000000010df2d522 hpe::translate(swift::SourceManager&, swift::ASTContext*, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool, bool) + 3090

12 swift-translator         0x000000010df936ae setup(int, char**) + 6190

13 libdyld.dylib            0x00007fffba1b4255 start + 1

14 libdyld.dylib            0x0000000000000115 start + 1172618945

[error]: swift-translator has detected an internal error and is halting (code 139).


2 Replies
Commodore Commodore

What version of SCA.  I don't believe that SCA 16.20 supports anything newer than SWIFT 2.2.

Vice Admiral
Vice Admiral

I found this in Stack Overflow.  This will register the UUID (This will keep adding the same UUID on repeated invocations. Checking for the already registered UUID may resolve this).  I found that after registering the UUID Xcode 9.1 will deny attempts to execute the plugin following a design change that requires code signing for the plugin.  The change appears caused by earlier attackers distributing malicious code in a "Ghost" copy of Xcode.


# https://stackoverflow.com/questions/20732327/xcode-5-required-plug-in-not-present-in-dvtplugincompatibilityuuids
XCODEUUID=$(defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID)
ls -laR ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins
for f in ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*; do
    defaults write "$f/Contents/Info" DVTPlugInCompatibilityUUIDs -array-add "${XCODEUUID}"
defaults read "$f/Contents/Info" DVTPlugInCompatibilityUUIDs


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.