1、将运行目标选为iOS Device
2、Edit Scheme -> 选择 Run [App Name] -> Build Configuration下拉框中选择Release
3、生成编译文件,Product -> Build
4、/Users/用户名/Library/Developer/Xcode/DerivedData/产品名称-hjwqiconnjhpjleqhsxvhdsxwktv/Build/Products/Release-iphoneos目录下
5、将AppName.app拖到itunes中
6、然后将AppName.app从itunes中拖到桌面即可,如此便生成了越狱包