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

@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 this issue Sep 20, 2019 · 3 comments

Comments

@mrpeng
Copy link

mrpeng commented Sep 20, 2019

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 mrpeng changed the title Error: ld: 7 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) @tiero Error: ld: 7 duplicate symbols for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Sep 20, 2019
@mrpeng
Copy link
Author

mrpeng commented Sep 23, 2019

@tiero
duplicate symbol
any solution?

@tiero
Copy link
Owner

tiero commented Sep 23, 2019

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

@tnghia944
Copy link

same issue

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