简体   繁体   English

通过命令行将IPA推送到设备(在xcodebuild之后)?

[英]Push IPA to Device via Command Line (after xcodebuild)?

Is it possible to push an IPA to a device via the command line? 是否可以通过命令行将IPA推送到设备?

The IPA was built from the command line using xcodebuild and signed with a developer certificate. IPA是使用xcodebuild从命令行构建的,并使用开发人员证书进行签名。 The device is not jail broken and was provisioned for development. 该设备没有被监狱破坏,并被配置用于开发。 In the case of a Bundle being delivered, I fix it up per Ad-Hoc and App Store IPAs with xcrun . 在捆绑包交付的情况下,我使用xcrunAd-Hoc和App Store IPA进行修复

I am aware of fruitstrap . 我知道果汁 I don't want strip the App Bundle from the IPA ( fruitstrap requirement), and I don't want the 'debug hook' provided by fruitstrap . 我不想从IPA( fruitstrap要求)剥离App Bundle,我不想要fruitstrap提供的'debug hook'。

The question is similar to Install application in iphone device through command line , but I need Apple tools. 问题类似于通过命令行在iphone设备中安装应用程序 ,但我需要Apple工具。

So far, I've only found manual methods using iTunes. 到目前为止,我只找到了使用iTunes的手动方法。 (And as @fanneyward offered - mobile safari). (正如@fanneyward所提供的 - 移动野生动物园)。

Look at his answer: 看看他的回答:

how to intall an ipa/app file into iPhone with command line? 如何使用命令行将ipa / app文件导入iPhone?

the 3rd solution with libimobiledevice. libimobiledevice的第3个解决方案。

If you would consider using Test Flight App for distributing builds to devices (it's not clear from your question whether it's just for yourself or for beta testers), Ray Wenderlich has a great post on Automated Testing that shows you how to automatically make Jenkins push builds to Test Flight. 如果您考虑使用Test Flight App将构建版本分发给设备(从您的问题中不清楚它是仅供您自己还是为Beta测试人员使用), Ray Wenderlich 在自动化测试 方面一篇很棒的文章 ,向您展示如何自动生成Jenkins推送版本测试飞行。 It's not exactly what you ask for, but definitely an okay alternative. 这不是你要求的,但绝对是一个不错的选择。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM