Adding Passio SDK into your project

Drag & drop the XCframework to your project

  • Drag and drop the "PassioNutritionAISDK.xcframework" into your project. Make sure to select "Copy items if needed".

Change Framework to "Embed & Sign"

  • In project "General" -> "Frameworks, Libraries and Embedded Content" Change to "Embed & Sign"

Edit your Info.plist

  • If opening from Xcode, right click and select 'open as source code'

  • To allow camera usage add:

<key>NSCameraUsageDescription</key>
<string>For real-time food recognition</string>

If at any point you need help from the Passio team, please reach out to us at support@passiolife.com


Last updated