Prepare an existing BlackBerry
Dynamics app to use the dynamic framework
BlackBerry
Dynamics
app to use the dynamic frameworkComplete the steps below if you have an existing
BlackBerry
Dynamics
app that uses the static BlackBerry Dynamics SDK
library (GD.Framework).- Delete the~/Library/Application Support/BlackBerryfolder.
- In theXcodeProject Navigator panel for your project, delete all of the references toGDAssets.bundleandGD.frameworkorGD.xcframework.
- Update the project’s import paths to referenceBlackBerryDynamicsinstead ofGD.
- For example, for C-style import or includes, changeGD/toBlackBerryDynamics/GD/.
- For module-based imports, replaceGDwithBlackBerryDynamics.
GD_C_NETUtility and sqlite3 have been moved from GD to GD_C modules. - In thedefault.xcconfigfile, remove the 3 lines starting with FIPS_PACKAGE, LDPLUSPLUS, and LD.
- In theFrameworks, Libraries and Embedded Contentlist of the project target, add the following items:
- BlackBerryDynamics.xcframework
- BlackBerryCerticom.xcframework
- BlackBerryCerticomSBGSE.xcframework
Set all of the above frameworks toEmbed and Signso that Xcode will change the project file by adding the frameworks to the Embed Frameworks step in the Build Phases and will configure the Runpath Search Paths accordingly. - In theBuild Settingsof the project target, updateFramework Search Pathsto include the directory of the BlackBerry framework files.
- In theHeader Search Paths, include the following entry: <directory_with_framework_files>/BlackBerryDynamics.xcframework/Headers