React Native

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65, duplicate symbols for architecture x86_64 해결하기

citron031 2023. 1. 14. 11:11

/ios/Podfile 의

:flipper_configuration => FlipperConfiguration.enabled,

을 주석 처리한 뒤

cd ios
pod deintegrate
pod install

를 실행한다.

flipper에서 발생하는 오류로, 비활성화하여 오류를 해결한다.

다만, flipper를 사용하지 못하면 네트워크와 같은 디버깅에 있어서 대체제가 별로 없다.

디버깅과 관련된 툴은 공식문서에서 확인할 수 있다.

https://reactnative.dev/docs/debugging

 

Debugging · React Native

Accessing the In-App Developer Menu

reactnative.dev

 

duplicate symbols for architecture x86_64 에러가 발생하였을 때 역시 Podfile에서 flipper를 비활성화하여 문제를 해결할 수 있다.