iOS Installation
Requirements
IDWiseSDK requires iOS 15.6 or later as the minimum deployment target. To integrate this SDK, ensure your application's minimum deployment target is set to iOS 15.6 or higher.
Your development environment must include Xcode and CocoaPods. The SDK supports both Intel and Apple Silicon (M1/M2/M3) based Macs. Note that when using CocoaPods on Apple Silicon machines, certain commands may need to be executed through Rosetta compatibility mode.
Latest Stable Version
The current latest release of IDWise SDK.
| SDK | Version |
|---|---|
| IDWise | '6.5.0' |
| IDWiseNFC | '6.5.0' |
Installation
IDWiseSDK is available to install via CocoaPods package manager from IDWise private Cocoapods repository.
To add IDWise SDK to your project, first ensure you have these two lines at the top of your Podfile file:
source 'https://cdn.cocoapods.org/'
source 'https://github.com/idwise/ios-sdk'
source 'https://github.com/idwise/ios-sdk-nfc'This adds IDWise private Cocoapods repository as a source to install packages from
Next add this line also to your Podfile but this time underneath your target node for your project:
pod 'IDWise', '6.5.0'
pod 'IDWiseNFC', '6.5.0'Also, add this configuration underneath your target node for your project:
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
endYou can have a look at the example Podfile provided in the root of this repository to see an example Podfile with both the changes above completed
After adding our dependency in your Podfile run:
pod install
Permissions for NFC SDK
If you are using NFC SDK then you need to do some extra configurations for NFC to be enabled correctly in your application. Following are the steps to do these configurations:
-
Add Near Field Communication Tag Reading under the Capabilities tab for the project’s target:

-
Add the NFCReaderUsageDescription permission to your Info.plist file - it's needed to access the NFC hardware:
<key>NFCReaderUsageDescription</key> <string>NFC tag to read NDEF messages</string> -
Declare
com.apple.developer.nfc.readersession.iso7816.select-identifiersa list of application identifiers that the app must be able to read according to ISO7816:<key>com.apple.developer.nfc.readersession.iso7816.select-identifiers</key> <array> <string>A0000002471001</string> <string>E80704007F00070302</string> <string>A000000167455349474E</string> <string>A0000002480100</string> <string>A0000002480200</string> <string>A0000002480300</string> <string>A00000045645444C2D3031</string> </array>
Next Steps
- To start with the IDWise Standard SDK, click here.
Updated 1 day ago
