Skip to content

Instantly share code, notes, and snippets.

View nripoli4810's full-sized avatar

Nate Ripoli nripoli4810

  • Assurant Labs
  • Rochester, NY
View GitHub Profile
@nripoli4810
nripoli4810 / makeRamDiskForiOSSimulator.sh
Last active August 26, 2024 11:43
Use a small RAM disk in iOS Simulator to quickly test low device/application space without having to fill your device space with video recordings
# Based on the following articles, and modified because of Simulator file location changes and
# so that my knowledgeable QA friends can quickly run this script
# Primary resource: https://egeek.me/2014/09/07/ios-testing-no-space-left-situation/
# http://commandlinemac.blogspot.com/2008/12/using-diskutil.html
# https://medium.com/xcblog/simctl-control-ios-simulators-from-command-line-78b9006a20dc
# https://superuser.com/questions/456803/create-ram-disk-mount-to-specific-folder-in-osx
function writeSection {
echo "******************************************************"
echo "* $1"