-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS] How to integrate Vuforia #68
Comments
Update: I tried adding |
@f111fei would you mind to include your VuforiaDemo as well :) ? |
I downloaded the Vuforia iOS SDK and integrated it into my current ReactNative XCode Project. I added -framework Vuforia to OTHER_LDFLAGS (not sure if this is really needed) but it compiles now. The error went from compile time to runtime :) As always: Any help highly appreciated :) |
I somehow fixed it. What if have done:
|
This is very helpful. Thank you for posting your solution even though no one replies. |
@JanOwiesniak Awesome, this is the command that fixed my build (completely unrelated project other than the fact I am using Vuforia):
|
@JanOwiesniak did you have problems with the tracking ? I get to errors not sure why I get the first I am not using local datasets =/ Error: Target Finder could not be created for dataset. CloudRecoBehaviour: TargetFinder initialization failed! Thanks in advance for any tip |
@ghus86 i'm using device and cloud recognition simultaneously and both are working as expected. Are these errors happening in the Unity Editor as well or only when you integrate your Unity application into your React Native App? This is how i would tackle this issue
If this is working
If this is working
If this is working
If this is working
|
@JanOwiesniak Thanks for the feedback. The app in unity is fine |
XCode's debug output is helpful too, just grab for "Vuforia". Maybe something silently crashes during the boot process? |
yes I have seen two errors in xcode CameraSettings:OnVuforiaStarted() (Filename: /Users/builduser/buildslave/unity/build/Runtime/Export/Debug.bindings.h Line: 43) Error: Target Finder could not be created for dataset. (Filename: /Users/builduser/buildslave/unity/build/Runtime/Export/Debug.bindings.h Line: 43) CloudRecoBehaviour: TargetFinder initialization failed! |
And these errors do not occur in the Unity Editor? If this is the case, it's hard to tell. If i was you, i would follow these steps and see where i get stuck. |
In the editor is working as expected and the export of the same projects works in android. I am not using UnityMessageManager support do think that can cause an issue ? |
As far as i understand |
Hi, Jan Can you send me the Vuforia SDK version that works? Because of the version is unavailable on the official site. and which unity version you're using? Thanks a lot |
@ntsd we are currently on Vuforia 8.3.8, you can download the SDK here: |
How are you using React Native Unity View with a new Unity Version? I try that before but can't build with Xcode. Can you tell me all of your version? so I can follow. I'm currently using. Unity 2018.4 Thanks again |
How do you installed Vuforia? If you have downloaded and installed it through Unity editor then you may find the Vuforia.framework there:
|
I started with react-native-unity-demo and after some issues with link.xml, the demo project is working now.
I tried to include Vuforia by clicking on "Vuforia Augmented Reality Support" in Unity "Player Settings > iOS > VR Settings", rebuild the Unity Project with "Build Export IOS" and recompiled it in XCode.
It seems like XCode is missing some Vuforia dependencies. Do i have to add anything else to UnityConfig.xcconfig?
This is what XCode throws at me:
The text was updated successfully, but these errors were encountered: