tiero / react-native-360

A React Native wrapper for Google VR Cardboard SDK
MIT License
141 stars 38 forks source link

@tiero Error: ld: 7 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) #32

Open mrpeng opened 5 years ago

mrpeng commented 5 years ago

React Native 0.60 MAC OS Catalina 10.15 beta (19A558d) XCODE 11

command: react-native init vr cd vr npm install https://github.com/tiero/react-native-360.git cd ios -- not command-------- edit Podfile file with other editor add one line pod 'GVRSDK' -- not command end -------- pod install pod update -- not command-------- Open myProject.xcworkspace and under myProject > Build Settings under Build Options set ENABLE BITCODE to NO Drag the folder RNGoogleVR from node_modules/react-native-360/ios under your myProject and be sure to check Copy items if needed and Create groups edit the App.js file import React from 'react'; import { VideoView } from 'react-native-360';

const App = () => { return ( <VideoView style={{height:200,width:width}} video={{ uri:'https://raw.githubusercontent.com/googlevr/gvr-ios-sdk/master/Samples/VideoWidgetDemo/resources/congo.mp4', type: 'stereo'}} displayMode={'embedded'} volume={1} enableFullscreenButton enableCardboardButton enableTouchTracking hidesTransitionView enableInfoButton={false} /> ); }; export default App;

change xcode signing select a development team run this project build error: 7 duplicate symbols for architecture arm64

mrpeng commented 5 years ago

@tiero duplicate symbol any solution?

tiero commented 5 years ago

@mrpeng The library is unmaintained. Try to downgrade react native 😒

tnghia944 commented 4 years ago

same issue