Log in or register to post comments

Vuforia Integration in Existing Swift Project

August 6, 2016 - 6:24am #1

Hi,

I'm trying to integrate Vuforia in one of my existing Swift based project,

but I get exact same error as in the following link.

What I have did so for is as follows,

  1. Downloaded Vuforia for iOS (Version 5-5-9)
  2. Copied library file and header files to my project and referred those from Search path
  3. Added #import <Vuforia/Vuforia.h>
  4. Set Enable bitcode to NO and C++ Language Dialect to C++11[-std=c++11]

Can you guide on how to integrate Vuforia in a Swift based project?

Vuforia Integration in Existing Swift Project

April 5, 2017 - 6:35am #5

April 5, 2017 - 6:33am #4

0

up

down

0

Hi yshrkt,

Your recommended for swift development github has through error on integration of vuforia in swift project.

Kindly look the following screenshot and let me know your solutions for the same.

2 errors:

/Users/adminuser/Documents/Vuforia/swift/vuforia-sdk-ios-6-2-9/samples/VuforiaSampleSwift/VuforiaSampleSwift/VuforiaManager/VuforiaEAGLView.h:11:9: error: 'Vuforia/UIGLViewProtocol.h' file not found

#import <Vuforia/UIGLViewProtocol.h>

        ^

<unknown>:0: error: failed to import bridging header '/Users/adminuser/Documents/Vuforia/swift/vuforia-sdk-ios-6-2-9/samples/VuforiaSampleSwift/VuforiaSampleSwift/VuforiaSampleSwift-Bridging-Header.h'

Vuforia Integration in Existing Swift Project

April 5, 2017 - 6:33am #4

Hi yshrkt,

Your recommended for swift development github has through error on integration of vuforia in swift project.

 

Kindly look the following screenshot and let me know your solutions for the same.

 

2 errors:

/Users/adminuser/Documents/Vuforia/swift/vuforia-sdk-ios-6-2-9/samples/VuforiaSampleSwift/VuforiaSampleSwift/VuforiaManager/VuforiaEAGLView.h:11:9: error: 'Vuforia/UIGLViewProtocol.h' file not found

#import <Vuforia/UIGLViewProtocol.h>

        ^

<unknown>:0: error: failed to import bridging header '/Users/adminuser/Documents/Vuforia/swift/vuforia-sdk-ios-6-2-9/samples/VuforiaSampleSwift/VuforiaSampleSwift/VuforiaSampleSwift-Bridging-Header.h' 

 

Vuforia Integration in Existing Swift Project

August 9, 2016 - 2:51am #3

Hi,

I wrote sample using swift, It might be helpful for you.

https://github.com/yshrkt/VuforiaSampleSwift

Thanks.

Vuforia Integration in Existing Swift Project

August 8, 2016 - 10:54am #2

Hello,

Here is another forum thread that might be helpful: https://developer.vuforia.com/forum/ios/integrating-vuforia-existing-swift-app

Thanks.

Log in or register to post comments