Skip to content

NUNAV Navigation SDK deployment for Swift Package Manager

License

Notifications You must be signed in to change notification settings

Graphmasters/nunav-sdk-ios-distribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NunavSDK

Requires iOS 15.0 Requires Xcode 15 Requires Swift 5.9 SPM compatible

Note
This repository only exists for the purpose of distribution of NunavSDK for iOS on the Swift Package Manager. It contains the code for the NUNAV SDK powering the navigation in third party apps. Please contact Grapmasters GmbH directly if you have any issues.


Getting Started

NunavSDK for iOS is distributed using the Swift Package Manager. To add it to your project, follow the steps below.

Package.swift

  1. Add the following to your dependencies.
dependencies: [
    .package(url: "https://github.com/graphmasters/nunav-sdk-ios-distribution", from: "<VERSION>")
]
  1. Add the dependency to your target.
.target(
    name: "Mytarget",
    dependencies: [
        .product(name: "NunavSDK", package: "nunav-sdk-ios-distribution")
    ]
)

Xcode

  1. To add a package dependency to your Xcode project, select File > Swift Packages > Add Package Dependency and enter its repository URL. You can also navigate to your target’s General pane, and in the “Frameworks, Libraries, and Embedded Content” section, click the + button, select Add Other, and choose Add Package Dependency.

  2. Either add NunavSDK GitHub distribution URL https://github.com/graphmasters/nunav-sdk-ios-distribution or search for nunav-sdk-ios-distribution package.

  3. Choose "Next". Xcode should clone the distribution repository and download the binaries.