Security warning when starting Mali Offline Compiler on macos

When launching Mali Offline Compiler on macOS 10.15 (Catalina), the application fails to start, and issues the following error message:
'"malioc" cannot be opened because the developer cannot be verified'.

Condition

Affected releases: Mobile Studio (all versions).

Affects macOS 10.15 (Catalina) platforms.

Cause

macOS Catalina introduced changes to its Gatekeeper functionality. Because the Mali Offline Compiler binary is not in the '.app' format, macOS Catalina issues a security warning. You can verify the integrity of Mali Offline Compiler's binary by entering the following command in a Terminal window:

spctl -a -vv malioc
malioc: rejected (the code is valid, but does not seem to be an app)
origin=Developer ID Application: ARM Ltd (S345482SL3)

Solution

Gatekeeper checks can be disabled by manually removing the com.apple.quarantine flag from the installed Mali Offline Compiler binary. Open a Terminal window, and run the following commands to disable gatekeeper:

  1. Navigate to the Mali Offline Compiler installation directory:
    cd /Applications/Arm_Mobile_Studio_2020.0/mali_offline_compiler/    
  2. Enter the following command:
    sudo xattr -d com.apple.quarantine malioc

Related information