React Native

MAC BigSur 업데이트 후 Xcode 에뮬레이터 디버그 실행안되는 오류 수정 방법

projin 2020. 11. 22. 18:17

MAC BigSur  업데이트 후  Xcode 에뮬레이터 디버그 실행안되는 오류 수정 방법

 



빌드 오류 원인

  • Xcode12에서 ARM기반 맥(애플실리콘)을 지원함에 따라 아이폰 시뮬레이터에 ARM용 아키텍쳐 arm64가 추가돼 발생

해결 방법

Build Setting에

 

 

  1. EXCLUDED_ARCHS에 arm64를 추가
  2. VALID_ARCHS 제거 (없으면 말고...)

 

 

출처 : jusung.github.io/Xcode12-Build-Error/

 

참고자료

stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios

 

Xcode 12, building for iOS Simulator, but linking in object file built for iOS, for architecture arm64

Trying to get a large (and working on Xcode 11!) project building in Xcode 12 (beta 5) to prep for iOS 14. Codebase was previously Obj-C, but now contains both Obj-C and Swift, and uses pods that ...

stackoverflow.com