从 Xcode 一次将多个 iPhone 应用程序安装到设备
假设我们有一个包含 2 个目标的 Xcode iPhone 项目,是否可以一键构建并安装它们到设备上?当然,我知道我们无法“构建并运行”两者,但我们至少可以安装它们吗?
稍微扩展一下这个概念:是否有任何脚本可以实现相同的目标,但使用多个 iPhone 项目而不是一个项目中的多个目标?当您想要在新的开发设备上加载所有应用程序并且不想逐一浏览所有项目并安装时,这将非常有用。
Supposing we have an Xcode iPhone project with 2 targets, is it possible to build and install both of them on the device with one click? Of course, I understand we will not be able to "build and run" both, but can we at least install them?
And to extend this concept a bit a bit: are there any scripts to achieve the same thing but with multiple iPhone projects instead of multiple targets in one project? This would be useful when you want to load all your apps on a new development device and don't want to go through all your projects one by one and install.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为这是可能的。当 Xcode 安装应用程序时,iDevice 会放置所有内容 5-10 秒并安装。我会简单地一一执行它们,因为 Xcode 4 在测试应用程序方面存在大量内存错误。当启动测试应用程序然后退出它时,会发生 sigabrt,我认为最安全的方法就是进行单独安装。
I do not believe this is possible at the same time. When Xcode installs an application the iDevice drops everything for 5-10 seconds and installs. I would simple just do them one by one as Xcode 4 has a ton of memory bugs regarding testing applications. When launching a test application and then exiting it a sigabrt occurs, I think the safest thing would just do individual installs.