■ Mac에서 iPhone iPad 등의 시뮬레이터에서 브라우저 로그를 보는 방법
간단한 시뮬레이터 기능을 이용하여 iPhone/iPad 조작 움직임의 로그를 보고 싶은 경우의 순서가 됩니다.
전제 조건 및 기타
xcode 설치
htps : //로 ゔぇぺぺr. 아 ぇ. 코 m/jp/x 코데/
Safari 버전
10.1.2 (12603.3.8)
Xcode Simulator Version
10.0
절차

Xcode >Open Development Tool > Simulator

아래 화면이 나와 있습니다. 그리고 시뮬레이터에서 safari를 시작합니다.

시뮬레이터에서 로컬/웹의 앱 페이지를 엽니다.
예: localhost:6003

동시에 Mac 측의 Safari를 시작해야 합니다.
Safari > 환경 설정

상세> "메뉴 바에 "개발"메뉴 표시"를 체크합니다! !

그러면 "개발"이 메뉴 바에 표시됩니다.

개발> simulator> simulator에서 열린 페이지 (예 : localhost : 6003-admin)

localhost:6003-admin을 누르면 development tool이 시작됩니다.
보통의 development tool 처럼, iPhone/iPad의 console.log()가 보이게 할 수 있었습니다! !

기기 전환

※요주의
xcode가 다시 시작되지 않으면 업데이트/편집한 코드는 xcode simulator에 반영되지 않을 것입니다. . . . . 이것은 조금 번거로운 곳입니다. . . . . 더 좋은 방법을 알고 있다면 알려주세요. . . . !
Reference
이 문제에 관하여(■ Mac에서 iPhone iPad 등의 시뮬레이터에서 브라우저 로그를 보는 방법), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/gosairei1207/items/7433008d78fcc494fe7d텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)