Add MAF libraries to the empty project. MAF includes statically linked libraries with
resource bundles. Prepare a folder structure for the dependencies.
- Locate MAF libraries in the SAP Mobile Platform SDK installation a folder,
in the NativeSDK/MAFReuse/iOS and
NativeSDK/ODataFramework subfolders.
- In the root of your Xcode project, create these folders and subfolders:
- dependencies/libraries
- dependencies/includes
- dependencies/bundles
- Copy these libraries from
NativeSDK/MAFReuse/iOS/libraries/Debug-universal to
dependencies/libraries/Debug-universal:
- libMAFUIComponents.a
- libMAFLogViewer.a
- Copy these libraries from
NativeSDK/MAFReuse/iOS/libraries/Release-universal
to dependencies/libraries/Release-universal:
- libMAFUIComponents.a
- libMAFLogViewer.a
- Copy these folders from
NativeSDK/MAFReuse/iOS/includes/public/ to
dependencies/includes:
- MAFUIComponents
- MAFLogViewer
- Copy these bundles from
NativeSDK/MAFReuse/iOS/includes/bundles to
dependencies/bundles:
- MAFUIComponents.bundle
- MAFLogViewer.bundle
- Copy these libraries from
NativeSDK/ODataFramework/iOS/libraries/Debug-universal
to dependencies/libraries/Debug-universal:
- libMAFLogger.a
- libLogger.a
- Copy these libraries from
NativeSDK/ODataFramework/iOS/libraries/Release-universal
to dependencies/libraries/Release-universal:
- libMAFLogger.a
- libLogger.a
- Copy the MAFLogger folder from
NativeSDK/ODataFramework/iOS/includes/public/ to
dependencies/includes.
- Copy MAFLogger.bundle from
NativeSDK/ODataFramework/iOS/includes/bundles to
dependencies/bundles.