[React-Native / 리액트 네이티브] react native pod 관련 에러(m1 silicon ) - error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65.

WBeen·2022년 3월 30일
0

React-Native

목록 보기
1/1
error Failed to build iOS project.
We ran "xcodebuild" command but it exited with error code 65. 

m1 맥북에서 pod install 을 하면 위와 같은 에러가 뜨는 경우가 있다.
이럴 경우 해결 방법

프로젝트 최상위 폴더 - ios 내에 있는 Podfile 수정.
아래처럼 use_flipper!() 삭제(주석처리)

# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
# use_flipper!()


post_install do |installer|
  react_native_post_install(installer)
 end
end

pod 설치할 때

pod install -> arch -x86_64 pod install

(나는 이 방법으로 해결함)

profile
Front-end 개발자로 가는 길을 기록

0개의 댓글