달력

3

« 2026/3 »

  • 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
2026. 3. 29. 13:40

iOS Simulator의 파일(File)에 파일 넣기 iOS/ETC2026. 3. 29. 13:40

Intro

: 최근에 개발한 App Test를 위해서, iOS Simulator의 파일(File)에 *.mp3를 넣어야 했었다. iOS Simulator에 Drag 했더니, 파일이 아니라 메시지가 열렸고 *.mp3도 추가되지 않았다. 별것도 아닌데 짜증이....

 

 

 

Solution

: 해결 방법은 간단했다. 폴더에 *.mp3들을 넣고 iOS Simulator로 Drag하면 되는 것이었다.

 

 

 iOS Simulator에 file을 추가하는 것에 대해서 짤막하게 언급된 공식 문서(https://developer.apple.com/documentation/xcode/sharing-data-with-simulator)를 찾긴 했는데, file 종류별로 어떻게 동작하는지 세세하게 나와있지는 않았다. 내가 못찾은 건지는 모르지만, 공식 문서만으로 해결안되는 것이 너무 많다...

 

 

Reference

https://developer.apple.com/documentation/xcode/devices-and-simulator

https://developer.apple.com/documentation/xcode/sharing-data-with-simulator

 

Devices and Simulator | Apple Developer Documentation

Configure and manage devices connected to your Mac or devices in Simulator and use them to run your app.

developer.apple.com

 

 

:
Posted by syjdev