Cleaning up the iPhone simulator

前端 未结 15 1474
情话喂你
情话喂你 2020-11-30 17:21

Is there a straightforward way to clean up the directory where xcode deploys an app when building for the iPhone simulator? I have a sqlite database that gets copied into t

15条回答
  •  情书的邮戳
    2020-11-30 17:58

    For Xcode <= 5

    I added the following to my ~/.bash_profile

    alias cleansim='rm -r ~/Library/Application\ Support/iPhone\ Simulator/5.1/Applications/*'
    

    It just nukes all of the apps on the sim.

提交回复
热议问题