error Failed to build ios project. "xcodebuild" exited with error code '70'. To debug build logs further, consider building your app with Xcode.app, by opening 'MOBILE.xcodeproj'.
-
반응형
(node:69562) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) info A dev server is already running for this project on port 8081. info Found Xcode project "MOBILE.xcodeproj" info Found booted iPhone info Building (using "xcodebuild -project MOBILE.xcodeproj -configuration Debug -scheme MOBILE -destination id=00008110-000A245421A0401E") info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
error Failed to build ios project. "xcodebuild" exited with error code '70'. To debug build logs further, consider building your app with Xcode.app, by opening 'MOBILE.xcodeproj'. info Run CLI with --verbose flag for more details.
이 오류는 iOS 빌드 과정에서 발생한 문제이며 iOS 빌드 오류(코드 70)는 여러 가지 원인이 있을 수 있습니다.
상세 진단 방법
1. Xcode에서 직접 빌드
# M1 칩 이상 ARM 사용자는 패스해주세요.
# ios 폴더로 이동
cd ios
# 종속성 재설치
pod deintegrate
pod install
# Xcode에서 직접 빌드 시도
open myProject.xcodeproj
2. CocoaPods 관련 해결
# CocoaPods 업데이트
sudo gem install cocoapods
# 캐시 삭제
pod cache clean --all
# 재설치
pod install
3. 전체 프로젝트 클린
# React Native 프로젝트 루트에서 실행
npx react-native clean-project-auto