project目录构建应用
xcodebuild -sdk $(sdkname) build
通过 xcodebuild -showsdks得到sdkname
启动模拟器
xcrun instruments -w 'iPhone 6 Plus'
安装应用包
xcrun simctl install booted /build/Release-iphonesimulator/YPTabBarController.app
启动模拟器中安装好的应用
xcrun simctl lauch booted com.tester.Test
com.tester.Test为应用bundle Identifier
删除模拟器中安装好的应用
xcrun simctl uninstal booted com.tester.Test