How do I add a video to the iOS7.1 simulator Xcode 6
As of iOS 12, simply drag and dropping the video directly on the Photos app in the simulator seems to do the trick!
I'm facing the same problem with iOS 7.1 Simulator but I found the following solution.
- Run 8.3 Simulator
- Drag the video (make sure its in the right format) over the Simulator, Safari should open it and start playing it.
- Tap the Done button and copy the URL you see at the top, in the Safari searchbar
- Run 7.1 Simulator
- Open Safari, paste the URL you just copied into the searchbar and press Enter. The video should open and start playing.
- Tap Done, tap the share button and then choose "Save Video".
- Your video should now be in the camera roll.
Hope this helps
Per your request to copy my above comment into an answer...
You should be able to do this by dragging the video into your application's folder, and then inserting it programmatically. See this post.
Glad that worked for you! Obviously, make sure that's not in any production code.
Rename the file to .m4v then drag it into the simulator, Safari will open, then you can share to camera roll.