자바스크립트/React Native
ReactNative - Lottie 사용시 Error
RightHot
2020. 1. 31. 16:12
ReactNative - Lottie 사용시 Error
VSCode 에서 IOS 빌드시 다음과 같은 에러가 난다
The following build commands failed:
Ld build/[프로젝트명]/Build/Products/Debug-iphoneos/[프로젝트명].app/PlugIns/[프로젝트명]Tests.xctest/[프로젝트명]Tests normal arm64
--- 해결 방법
- xCode의 [프로젝트 명] 폴더에 File.swift 를 생성한다.
- react-naitve start 를 하지 않은 상태에서 xCode 에서 run
--- 문제점
- react-naitve start 를 하지 않은 상태에서 xCode 에서 run 을 했을시 정상 동작한다.
- - 만약 react-native start 후 xCode 에서 run 시 빌드는 되나, 네트워크 통신이 안되는 문제가 발생.
- - 만약 react-native start 후 VSCode 에서 run 시 normal arm64 에러로 빌드 실패