build issue iOS, libViroReact.a[arm64][2](VRTPortalScene.o))
Closed this issue · 2 comments
yauhenicharniauski commented
Requirements:
Please go through this checklist before opening a new issue
- Review the documentation
- Search for existing issues in: ViroCommunity/viro
- Use the latest ViroReact release
Environment
Please provide the following information about your environment:
- Development OS: Mac
- Device OS & Version: MacBook Pro M1
- Version: ViroReact: 2.41.1, ReactNative: 0.73.5
Description
After Installation Instructions via StartKit or manually installing and linking the library to an existing React Native project, I have this issue after building the project.
ld: building for 'iOS-simulator', but linking in object file (/Users/yauheni/iTechArt/starter-kit/node_modules/@viro-community/react-viro/ios/dist/lib/libViroReact.a[arm64][2](VRTPortalScene.o)) built for 'iOS'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried to exclude arm64 arch, but after that I received issue:
Library 'CocoaAsyncSocket' not found
Reproducible Demo
- StartKit
- npm install
- cd ios && pod install && cd ..
- npm start, iOS
canceryoon commented
@yauhenicharniauski Hi, Same Issue. Did you resolve this issue, and if so, how did you do it?
MacBook Pro M1
React Native 0.73.9
Viro 2.41.6