ReactVision / viro

ViroReact: The AR and VR library for React Native 📳💙💛🤍💚
MIT License
1.3k stars 150 forks source link

build issue iOS, libViroReact.a[arm64][2](VRTPortalScene.o)) #279

Closed yauhenicharniauski closed 3 months ago

yauhenicharniauski commented 3 months ago

Requirements:

Please go through this checklist before opening a new issue

Environment

Please provide the following information about your environment:

  1. Development OS: Mac
  2. Device OS & Version: MacBook Pro M1
  3. 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

1) StartKit 2) npm install 3) cd ios && pod install && cd .. 4) npm start, iOS

linear[bot] commented 3 months ago

XR-189 build issue iOS, libViroReact.a[arm64][2](VRTPortalScene.o))