iosxcodeblackberrymacos-catalinagood-dynamics

Two errors with FIPS when trying to deploy to device from Xcode 11.1 after upgrading to MacOS Catalina 10.15


I use Blackberry Dynamics SDK in my app and after upgrading to the new MacOS 10.15 Catalina I have issues deploying to a physical device. I cleaned the build folder, cleared the cache, cleared derived data, uninstalled/reinstalled all pods, but I still get the following error:

FINGERTYPE is [path]/FIPS_module/arm64.sdk/bin/../bin/fips_standalone_sha1
CANISTER_O is [path]/FIPS_module/arm64.sdk/bin/../lib/fipscanister.o
[path]/FIPS_module/arm64.sdk/bin/gd_fipsld: line 219: [path]/FIPS_module/arm64.sdk/bin/../bin/fips_standalone_sha1: Bad CPU type in executable
1d0
< HMAC-SHA1(fipscanister.o)= [key]
[path]/FIPS_module/arm64.sdk/bin/../lib/fipscanister.o fingerprint mismatch
Command Ld failed with a nonzero exit code

It builds and deploys fine to a simulator as well as if deployed in an earlier version of MacOS. Not sure where to go from here.


Solution

  • While compiling a Blackberry Dynamics app the command fips_standalone_sha1 is called. The fips_standalone_sha1 binary in the Blackberry Dynamics framework is a 32-bit binary. That is not going to work on Catalina.

    Mojave still supported 32 bit applications, but it was deprecated, in Catalina 32-bit applications won't run anymore.

    You can use a Mojave system, or wait for an update of Blackberry Dynamics SDK that supports Catalina.

    EDIT: Blackberry Dynamics has been updated, make sure you are using the latest version