我正在尝试编写一个功能,允许用户在iOS上从他们的图库中选择图像。我可以从相机捕获图像,但当我尝试从图片库执行同样的操作时,我的应用程序崩溃了。 我确保使用的是最新版本的插件(0.6.0),并尝试在模拟器和iOS设备上运行该应用程序。我目前使用的是运行iOS 12.4的iPhone 8模拟器,我的设备是iPhone 7+,也是在iOS 12.4上 // opens the camera for use, works as expected
// does not currently store the image anywhere, but I know why
void _showC
我有一个简单的脚本,可以通过XCode以编程方式启动iOS项目:
on run project_loc
tell application "Xcode"
open project_loc
activate
end tell
tell application "System Events"
tell application process "Xcode"
click menu item "Run" of menu 1 of menu bar item "Product"