To Upload a file onto the simulator 11+ im using the below command,
xcrun simctl addmedia booted ~/Desktop/IMG_002.png
Failed to import IMG_002.PNG’, error [NSCocoa
ErrorDomain] -1: The operation couldnΓÇÖt be completed. (Cocoa error -1.)
An error was encountered processing the command (domain=com.apple.CoreSimulator.
Multiple errors were returned; see stderr
Kindly let know how to copy the image onto the simulator.