728x90
안녕하세요.
KDoctor 도구를 사용하면 현재 KMP 개발 환경 셋팅이 잘 되어 있는지 알 수 있는데요.
'✖ System ruby is currently used' 경고가 발생했을 때 아래 방법을 적용해 보세요!

# 해결방법
~/.zshrc 파일을 열어서 아래 내용을 추가해 보세요!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH=/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.0.0/bin:$PATH |
터미널을 재시작하거나, 터미널에 'source ~/.zshrc' 명령어를 입력한 후에 다시 확인하면 경고가 사라집니다ㅎㅎ

# 참고
Set up an environment | Kotlin Multiplatform Development
www.jetbrains.com
How to run CocoaPods on Apple Silicon (M1)
I have a Flutter project that I'm trying to run on iOS. It runs normally on my Intel-based Mac, but on my new Apple Silicon-based M1 Mac it fails to install pods. LoadError - dlsym(0x7f8926035eb0,
stackoverflow.com
이번 글은 여기서 마무리.
반응형
'KMP' 카테고리의 다른 글
[KMP] '✖ CocoaPods requires your terminal to be using UTF-8 encoding.' 해결방법 (0) | 2025.03.24 |
---|---|
[KMP][iOS] Unable to boot the Simulator (0) | 2024.03.17 |