Loading...
Searching...
No Matches
iOS Installation Guide

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like Navigine in your projects. You can install it with the following command:

$ gem install cocoapods

CocoaPods 0.39.0+ is required to build Navigine 2.0.0+.

Podfile

To integrate Navigine iOS SDK into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'
target 'TargetName' do
pod 'Navigine'
end

Then, run the following command:

$ pod install

Installation with Swift Package Manager

To integrate Navigine iOS SDK using Swift Package Manager, add the package dependency in Xcode:

  1. Open your project in Xcode
  2. Select File → Add Package Dependencies
  3. Enter the repository URL: https://github.com/Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0.git
  4. Select the version (e.g. 2.26.2 or later)

Or add it to your Package.swift:

dependencies: [
.package(url: "https://github.com/Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0.git", from: "2.26.2"),
],
targets: [
.target(
name: "MyApp",
dependencies: [
.product(name: "Navigine", package: "Navigine"),
]
),
]

Then use the SDK in your code:

import Navigine

iOS 13.0+ is required when using Swift Package Manager.

The binary is downloaded automatically from GitHub Releases — you only need the repository URL above, not a direct link to the xcframework zip.

SPM package is fully available after the release workflow has been run for the selected version (checksum is updated during release).

Manual installation

1) Download Framework

2) Add to XCode project

3) In Targets section Build -> General -> Frameworks, Libraries, and Embedded Content select Navigine.framework -> Embed & Sign