티스토리 뷰

Mobile/iOS

iOS. Simulator 녹화하기

out of coding 2020. 6. 5. 16:43

예전에는 QuickTime 에서 녹화를 했던거 같은데...

그건 이제는 리얼 디바이스에서만 되는걸로 변경이 되었습니다.

음? 리얼 디바이스는 어차피 녹화기능이 있는걸? ㅎㅎ

 

아무튼 시뮬레이터 녹화하는 방법을 알아봅시다.

$ xcrun simctl io booted recordVideo [name].mov

 

이렇게 하면 간당하게 녹화가 되는데 끄는건 Ctrl + C 하면 됩니다. Cancel.

 

그런데 이렇게 하는데 안되는 분들이 있습니다. 다음과 같은 에러가 발생하면서요.

xcrun: error: unable to find utility "simctl", not a developer tool or in PATH

 

무엇이 문제냐면 xcode에서 location 을 지정해주면 됩니다.

 

Xcode > Preferences > Locations에서 Command Line Tool을 지정하여 줍니다.

 

저도 stackoverflow에서 찾았습니다. ㅎㅎ

 

https://stackoverflow.com/questions/29108172/xcrun-unable-to-find-simctl

 

xcrun unable to find simctl

Attempting: xcrun simctl in terminal yields: xcrun: error: unable to find utility "simctl", not a developer tool or in PATH I have Xcode 6.2 Beta. Any suggestions?

stackoverflow.com

 

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함