Skip Navigation

Link for FIPS in 
Swift

If your project or app includes at least one 
Swift
 language source file, complete the steps below.
  • Link for FIPS in Objective-C or C++. If you are not including source code in Objective-C, you must replace the contents of the 
    default.xcconfig
     file, not add to it.
  • If you are not using a default xcconfig file, create one named 
    default.xcconfig
     and configure your build options to use it.
  • In your project build settings, verify that the debug and other build configurations point to 
    default.xcconfig
  1. Add the following lines to the 
    default.xcconfig
     file:
    FIPS_PACKAGE=$(CURRENT_ARCH).sdk LDPLUSPLUS=$(HOME)/Library/Application Support/BlackBerry/Good.platform/iOS/FIPS_module/$FIPS_PACKAGE/bin/gd_fipsld LD=$(HOME)/Library/Application Support/BlackBerry/Good.platform/iOS/FIPS_module/$FIPS_PACKAGE/bin/gd_fipsld
  2. Set the deployment target to the required version (see Software requirements).
  3. In the project, navigate to 
    Target
     > 
    > Build Settings
     > 
    Linking
     > 
    Other Linker Flags
     and add the following:
    -B ${LDUTILDIR}