CocoaPods Settings

Initialize CocoaPods (if needed)

pod init

Add repository to Podfile

source '<https://github.com/NDK-dev/Specs.git>'

Add MessayKit to Podfile

use_frameworks!
	# Pods for your app
	pod 'MessayKit'

Add authentication information to ~/.netrc

If ~/.netrc doesn't exist:

touch ~/.netrc

Add the following to ~/.netrc:

The username is the same as the one used to log in to the MDK dashboard. For the password, use the authentication token generated from the Settings menu.

machine developer.messay.ndk-group.co.jp
login <Username>
password <Token>

Install CocoaPods libraries

Execute the following:

pod install

For first-time installation, you'll need to reopen the project using .xcworkspace.

Add a key to Info.plist

Add the Privacy - Camera Usage Description item to the Info.plist file and include a message explaining the reason for camera usage. For example: "Used for face and eye tracking."

Without this, the app will crash upon launch.