jiulongw / swift-unity

Sample code that integrate Unity (2017.1+) scene into iOS (Swift 4.0, Xcode 9+) project.
389 stars 100 forks source link

Vuforia #114

Open VladIacobIonut opened 5 years ago

VladIacobIonut commented 5 years ago

Hi again,

I have tried to integrate unity in my Xcode Swift project succesfully. However when my Unity project contains Vuforia features as well, the project does not build anymore. The error complains about Vuforia not containing BITCODE. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7

I set ENABLE_BITCODE to false but then more errors appear. I have imported the Data folder as well as creating a reference to the Data/Raw/Vuforia folder as mention in another issue. My version of Unity is 2018.2.18.f1. I am using Xcode 10.

Does anyone have any guess for this problem? Is there any precise solution for this ?

Thank you very much.

alvincrisuy commented 5 years ago

Hello, have you solve your problem?

VladIacobIonut commented 5 years ago

Hello, I haven't solved this problem at that point. Ultimately I decided to use the native ARKit instead as it served my usecase just as well as Vuforia.

ghus86 commented 5 years ago

@alvincrisuy did you find a solution for this ? @jiulongw do you have some input regarding this issue ?

alvincrisuy commented 5 years ago

@ghus86 Yes, I have solved it. What error did you encounter? I encounter a lot 😆

ghus86 commented 5 years ago

@alvincrisuy Cool. I am getting this error about Vuforia not containing BITCODE.

alvincrisuy commented 5 years ago

I'll get back to you later as I don't have access to the project now

ghus86 commented 5 years ago

@alvincrisuy Thanks really need some help with this =/