admin管理员组文章数量:1625093
2021.3.18更新:
写在公司的文档, 蹩脚英语, 大家理解着看哈, 会逐渐提高自己:
Sometimes we need to install iOS .ipa package from PC for testing, for example, from Jenkins.
Windows PC
1.1 Install “爱思助手“(Default settings) in Windows PC
1.2 Open “爱思助手“ and it will download iTunes automated, wait it is completed
1.3 Connect our test iPhones with Windows PC by our Multi-head data cable or Original data cable
1.4 Open test iPhone and Click Trust this device if your there is trust alert in your iPhone
1.5 Wait “爱思助手“ load your iPhone completed and click “app and game“:
1.6 Click “import install“ and select your .ipa package in your Windows PC, wait it install completed,
now you can use this .ipa app in your test iPhones, good luck.
- Mac computer
There are multiple methods in Mac for install iOS .ipa package into test iPhones, two methods are provided here:
Method 1. Use “爱思助手“, the steps are same with Windows PC(Mac computers may not need to install iTunes)
Method 2. Use command line:
2.1 We open terminal, input ideviceinstaller, run, if prompt below message, it mean you have installed ideviceinstaller.
if prompt: not found, input: brew install --HEAD libimobiledevice, run
brew install ideviceinstaller , run
2.2 Connect our test iPhones with Windows PC by our Multi-head data cable or Original data cable
2.3 Open test iPhone and Click Trust this device if your there is trust alert in your iPhone
2.4 Input: ideviceinstaller -i your_ipa_path, run
you can drag your ipa to the command line, wil fill automatically, example: ideviceinstaller -i /Users/companymacos/Downloads/xxxx.ipa
2.5 If you have multiple test iPhones connect to your Mac, you can use
ideviceinstaller -i your_ipa_path -o udid
And you can get udid from Xcode
And ideviceinstaller also is a tool for iOS UI automation!
---------------------------分割线--------------------------------------------------
以下是我原来直接发在CSDN的:
- UI operation:
use env. :
iPhoneX; iOS12.2; macOS10.14.5, 爱思助手1.07.020
I test, it’s OK
- usb to connect your iPhone, and believe your device
3)
3)
the way can try on windows, but I have’t tried.
- command line:
use env. :
iPhoneX; iOS12.2; macOS10.14.5
ideviceinstaller -i your_ipa_path
you can drag your ipa to the command line, wil fill automatically, example:
ideviceinstaller -i /Users/companymacos/Downloads/xxxx.ipa
of course, you must install ideviceinstaller, I remember command line(when you get a new mac):
brew install ideviceinstaller
maybe prompt you must install something, but I don’t remember, sorry
and The command line style can be used by iOS automation.
版权声明:本文标题:如何给iPhone(苹果手机)安装ipa文件 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1728918993a1179887.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论