[RN] ios build 오류

주민콩·2022년 2월 9일
0
npx react-native run-ios

develop branch에서 같이 작업중이던 내용을 pull 받고 build를 실행했는데 ...

** BUILD FAILED **


The following build commands failed:
        Ld /Users/celina/Library/Developer/Xcode/DerivedData/bereview-crpjynwrrlfstvflgnyylbkveiye/Build/Products/Debug-iphonesimulator/[appname]/[app] normal (in target '[app]' from project '[app]')
(1 failure)

라는 오류가 나오면서 나를 또 긴장상태로 만들었다 ...🥶

Users/[user.name]/Library/Developer/Xcode/DerivedData

그래서 여기로 들어가서 모든것을 삭제하고 재시도 했지만 변화가 없었음 ..

하지만 생각보다 간단했다 🤓
Podfile.lock 삭제 후

pod cache claen -all
cd ios
pod install
cd ..
react-native run-ios

초간단🔥

profile
코딩하면서 기록하는 메모장 ᰔ

0개의 댓글