Skip to content

iOS SDK 1.4.2 ​

SDK Installation ​

  1. Download the iOS SDK and sample code here.
  2. Unzip the downloaded SDK zip file to a folder in your local drive.

Sample Code ​

The quickest and simplest way to kickstart your journey with the iOS SDK is by downloading and experimenting with our sample code. Follow these steps to open the sample project:

  1. Install the dependencies

    console
    cd demo
    pod install
  2. Open the project

    console
    open VitalSignApp.xcworkspace

IMPORTANT

In the demo code, the strings __YOUR_USER_ID__ and __YOUR_API_KEY__ should be replaced by your own User ID and API Key repectively. Please contact us to obtain your User ID and API Key.

Project Integration ​

Update the deployment target in Podfile:

ruby
platform :ios, '15.5'

Add the SDK pod to the Podfile:

ruby
target 'YourApp' do
  # ...
  pod 'VitalSignSDK', :path => '/downloaded/sdk/path/sdk'
  # ...
end

Also in the Podfile file, update the line use_frameworks! to:

ruby
use_frameworks! :linkage => :static

Add the following to the Podfile file. It keeps the x86_64-only simulator build (the bundled MLImage dependency ships a device-only arm64 slice) and raises transitive pods to the deployment target — Xcode 26 and later reject lower simulator deployment targets:

ruby
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['ARCHS[sdk=iphonesimulator*]'] = 'x86_64'
      if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 15.5
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.5'
      end
    end
  end
end

IMPORTANT

Please note that for iOS, the minimum deployment target is 15.5.

UIScene Life Cycle (Xcode 26 and later)

Starting with Xcode 26, apps built with the SDK must adopt the UIScene life cycle (SceneDelegate + a UIApplicationSceneManifest entry in Info.plist). An app that only uses an AppDelegate is terminated at launch by UIKit. New Xcode project templates already use scenes; the bundled sample app has been migrated as of 1.4.2.

Camera Permission ​

When developing for iOS, you need to allow the app to use the camera by specifying the following in the file Info.plist:

xml
<key>NSCameraUsageDescription</key>
<string>Use for measuring vital signs</string>

TIP

In Info.plist, the string "Use for measuring vital signs" is an example description of the camera usage. You should specify your own description that matches the usage of your application.

What's New ​

1.4.2 (12-Nov-2026) ​

  • Fixed a launch crash of the bundled sample app when built with Xcode 26 or later: UIKit terminates apps without the UIScene life cycle, so the sample app now ships a SceneDelegate and a UIApplicationSceneManifest entry
  • The sample Podfile now raises transitive pod deployment targets to 15.5, fixing simulator builds with Xcode 26 and later
  • No SDK integration changes are required for existing 1.4.x adopters

1.4.1 (13-May-2026) ​

  • Bundles Swift core 5.15.15.
  • Fixed a potential racing condition that could prevent a request from being sent.
  • No SDK integration changes are required for existing 1.4.x adopters.

1.4.0 (23-Apr-2026) ​

  • Adds V2 API support with getLastRequestV2() and getLastResponseV2()
  • Fixes scanning, analyze-stage, and video handling bugs