FE/Error

프로젝트 재실행

ardoh 2024. 8. 16. 17:27

프로젝트를 깃허브에 연결하고 파일을 다시 실행하려니 에러가 났다. 

 

에러 메시지

 

Command `run-ios` unrecognized. Make sure that you have run `npm install` and that you are inside a react-native project. ➡️ 1번

 

error Unable to open base configuration reference file '/error Unable to load contents of file list: '
error Unable to load contents of file list: 
error Unable to load contents of file list: '
error Failed to build ios project. "xcodebuild" exited with error code '65'. To debug build logs further, consider building your app with Xcode.app, by opening 'FoodieBuddy.xcworkspace'.

➡️ 3번

 

[!] No `Podfile' found in the project directory.

➡️ 2번

 

해결 방법

순서대로 정리하자면

1. npm install

2. cd ios

3. pod install