Integration of the IOMbLib iOS via CocoaPods.¶
This is a step-by-step guide for installing INFOnlineLibrary in your project via CocoaPods.
- Xcode 14 or higher. You can download the latest stable version here.
- CocoaPods 1.10.0 or higher. You can download the latest stable version here.
- The minimum deployment target in your project should be iOS 11.0.
If you don't have an Xcode project and still want to test IOMbLibrary iOS, you can download the sample project here.
Adding the IOMbLibrary CocoaPods Dependency¶
Create a podfile if you don't already have one, otherwise go to step 2:
Open Terminal and change to the directory where your project is located.
Run the following command - this will create a podfile in your project directory
open the podfile (using any text editor) and add the IOMb Lib iOS pod URL:
pod 'IOMbLibrary', :git => 'https://repo.infonline.de/iom/base/sensors/app/ios.git'
Your podfile should look like this
1 2 3 4 5 6
target 'YourTargetName' do use_frameworks! pod 'IOMbLibrary', :git => 'https://repo.infonline.de/iom/base/sensors/app/ios.git' end
open terminal and change to the directory where your podfile is located:
Run the following command - this will install the pod and create an
open your project in Xcode via the
.xcworkspacefile (instead of via
proceed with the configuration and initialization of the IOMb library: Link