Skip to content
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] xCode build failed #183

Closed
Tankerxyz opened this issue Mar 13, 2018 · 3 comments
Closed

[IOS] xCode build failed #183

Tankerxyz opened this issue Mar 13, 2018 · 3 comments

Comments

@Tankerxyz
Copy link

xCode version: 9.3 beta_4
react-native version: 0.49.3
react-viro version: 2.4.0

duplicate symbol __ZN3fLI9FLAGS_novE in:
    /Users/tanker/IdeaProjects/ViroSample/ios/Pods/GVRSDK/Libraries/libGVRSDK.a(vlog_is_on_8d2e7d29c7bb2e5dfa3670dcea4320a0.o)
    /Users/tanker/Library/Developer/Xcode/DerivedData/ViroSample-cidxnjuwwhmpcadbfxcwbqaiechz/Build/Products/Debug-iphoneos/libReact.a(vlog_is_on.o)
duplicate symbol __ZN3fLI7FLAGS_vE in:
    /Users/tanker/IdeaProjects/ViroSample/ios/Pods/GVRSDK/Libraries/libGVRSDK.a(vlog_is_on_8d2e7d29c7bb2e5dfa3670dcea4320a0.o)
    /Users/tanker/Library/Developer/Xcode/DerivedData/ViroSample-cidxnjuwwhmpcadbfxcwbqaiechz/Build/Products/Debug-iphoneos/libReact.a(vlog_is_on.o)
ld: 2 duplicate symbols for architecture arm64

I can't test my AR app with ARKit 1.5.
Any Ideas how can I resolve this?

@achuvm
Copy link
Collaborator

achuvm commented Mar 13, 2018

Hi @Tankerxyz,

The error you're seeing is not something that we've seen on our end (we've tested with both GVR and React).

Can you first try cleaning your project (do a Clean Build Folder... not just a Clean) and rebuilding your project?

If that doesn't work, can you post your /ios/Podfile.lock file so we can take a look?

Thanks,

@Tankerxyz
Copy link
Author

@Hless
Copy link
Contributor

Hless commented Apr 22, 2019

I know this issue has long been closed and all, but this possibly has something to do with not using use_frameworks! in your Podfile. For anyone experiencing the same issue, following the guide on the page below fixed my issue:

https://docs.viromedia.com/v2.14.0/docs/no_use_frameworks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants