• 카테고리

    질문 & 답변
  • 세부 분야

    모바일 앱 개발

  • 해결 여부

    미해결

ios simulator tmap setup 관련

22.06.22 22:27 작성 조회수 193

0

안녕하세요 강의 잘 보고 있는 수강생입니다.

 

현재 rn 0.68.2v 을 사용하면서 graddle version issue인지, 혹은 개발환경 세팅 issue인지는 모르겠으나 안드로이드에서 gradle build 관련하여 문제가 있어 ios만 실습중입니다.

 

ios simulator에서는 별도로 앱스토어 접속하여 타 앱을 설치하는 것이 불가능한 것으로 알고 있는데, TMap 연동 강의와 Mac ch5 세팅 영상을 보아도 ios 시뮬에서 Tmap 앱을 설치하시는 모습이 안나와서 혹시나 시뮬에서는 구현이 안되고 실제 디바이스로 진행을 해야하는 지 궁금합니다.

답변 1

답변을 작성해보세요.

1

네 시뮬레이터에서는 앱스토어로 앱 설치가 불가능해 Tmap을 설치할 수 없습니다.

gradle은 무슨 에러가 발생하시나요?

khg8016님의 프로필

khg8016

질문자

2022.06.23

빠른 답변 감사합니다 :)

gradle 관련 에러는 이미 다른 많은 분들이 인프런에 문의 주셨던, android development enviroment set up 에러가 발생하고 있습니다.

현재 rn 0.68.2 / gradle 7.3.3 / android gradle plugin 7.2.1 환경입니다.

rn 버전과 gradle 버전의 호환성 문제이지 않을까... 예상은 하고 있긴 하지만, 우선 새롭게 프로젝트 세팅을 다시 해보려고 합니다.

실 프로젝트를 구성할 때 안정적인 rn 버전 및 호환이 잘되는 gradle 버전 정보를 얻는 팁이 혹시 있을까 궁금하긴 하네요 :)

다른 분들도 비슷한 증상으로 질문 검색하실까봐, 글 최하단부에 에러 로그 첨부 합니다.
해결 방법을 스스로 찾게 되면 다시 답글에 달아놓겠습니다

FAILURE: Build failed with an exception.

 

* What went wrong:

Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

 

* Get more help at https://help.gradle.org

 

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.

Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01

Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01

Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01

Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01

Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01

The message received from the daemon indicates that the daemon has disappeared.

Build request sent: Build{id=61e98dc2-6156-4020-b5fa-3a36e820c3c3, currentDir=/Users/saimfam/dev/rn/zerocho/food-delivery-app/ch2/android}

Attempting to read last messages from the daemon log…

Daemon pid: 85927

  log file: /Users/saimfam/.gradle/daemon/6.9/daemon-85927.out.log

이건 근데 필요한 패키지가 안 깔려있거나, 깔려는 있지만 환경변수가 설정이 제대로 안 돼서 Gradle에서 해당 패키지를 못 찾는 경우가 많습니다. React Native 공식문서에 있는 것들을 다시 한 번 설치해보셔야 합니다.