WANNA SDK empowers iOS applications with the Augmented Reality (AR) Try-On capabilities for shoes and watches. Once integrated, the AR Try-On feature allows app users to try sneakers or watches in real-time with their smartphones by pointing a mobile camera at their feet or wrist.
WANNA SDK enhances your iOS app with virtual try-on capabilities for shoes and watches. With this feature, your users will be able to see in real time how the selected product looks on them, just by pointing their smartphone camera at their feet or wrist. See the detailed documentation at the WANNA website.
Create a Podfile if you haven’t yet:
$ cd <your-project-directory>
$ pod init
Add pod WannaSDK
to your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '15.0'
inhibit_all_warnings!
use_frameworks!
target 'MyApp' do
pod 'WannaSDK'
end
Install the pod:
$ pod install
Open Example.xcworkspace file in Xcode.
NOTE: when you open Example.xcodeproj instead of Example.xcworkspace it will result in compiller error No such module ‘WsneakersUISDK’
Add a package by selecting File
→ Add Packages…
in Xcode’s menu bar.
Search for the WannaSDK using the repo’s URL:
https://github.com/WANNABY/WannaSDK-iOS.git
Next, set the Dependency Rule to be Up to Next Major Version
.
Then, select Add Package.
Package.swift
manifestTo integrate via a Package.swift
manifest instead of Xcode, you can add
WannaSDK to the dependencies array of your package:
dependencies: [
.package(
name: "WannaSDK",
url: "https://github.com/WANNABY/WannaSDK-iOS.git",
.upToNextMajor(from: "7.2.0")
),
// Any other dependencies you have...
],