1.先打开模拟器.
2.在终端中输入 xcrun simctl install booted /path/to/your.app 注意后面/path/to/your.app是指你将要安装的.app文件的路径,输入完毕之后直接Enter,到此你回到你的模拟器中就可以看到相应的app了
3. 若出现异常
sudo xcode-select -switch xcode路径/Contents/Developer即可
2.在终端中输入 xcrun simctl install booted /path/to/your.app 注意后面/path/to/your.app是指你将要安装的.app文件的路径,输入完毕之后直接Enter,到此你回到你的模拟器中就可以看到相应的app了
3. 若出现异常
sudo xcode-select -switch xcode路径/Contents/Developer即可