H4Hugo
H4Hugo

Reputation: 2650

Use Vuforia iOS SDK in a Swift project for an augmented reality app

I'm trying to integrate the Vuforia iOS SDK in order to try marker-tracking for an augmented reality app in Swift.

At first I wanted to run one of their samples but I canot get it to compile (I'm unsure of the required steps, maybe I'm missing bridging headers, compilation flags etc.).

Here is what I've done and tried so far :

As this point, everything is fine, it compiles. Then I add the samples by drag and dropping in the samples folder and tried to Build. It shows about Vuforia imports so I guess it's not correctly added to the project.

Have I missed one or many steps ? Do I have to manually create a bridging header ?

Thanks for any help

Upvotes: 3

Views: 2136

Answers (1)

XME
XME

Reputation: 525

Yes, you have to manually create bridging headers for Swift, because Vuforia currently only has C++, Java and Unity APIs. This project is an example of the final result.

Hope it helps someone, Xavi

Upvotes: 1

Related Questions