The Nami SDK for Apple is built using Xcode 12.

If you are using Xcode 11, you'll need to add the Nami framework manually to your project.

📘

Xcode 11.6+

For Xcode 11.6 and higher, you can just download the Nami.xcframework here

📘

Xcode 11.3.1

For Xcode 11.3.1, you can download the version of the Nami framework in the Xcode11 directory.

The file is named Nami-xcode11_3_1.xcframework.zip. Unzip that file after downloading to extract the framework and follow the instructions in this document.

After downloading the Nami framework from GitHub in the Nami repository, do the following:

  1. Go to your application Project settings page in Xcode, and go to the General tab.
  2. Scroll down until you can see the "Frameworks and Libraries" section
  3. Drag Nami.xcframework from the finder into this area.

A dialog will come up to verify, opt to "copy" the framework into the project so that your application has a copy of the framework to check into source control.

When complete, you can verify the Nami framework has been added properly by adding import Nami to the AppDelegate.swift file and then compiling your project.

If everything is configured properly, the app will build and link with the Nami library. If you receive errors, try cleaning the build folder or removing the Nami framework from your project and try re-adding it.

Make sure the option to "Embed and Sign" is chosen instead of just "Embed".