1.打开Terminal终端
2.安装ideviceinstaller工具
(如果没有安装brew(homebrew)先安装,在执行如下命令)
$ brew install ideviceinstaller
3.手机连上电脑
4.执行命令安装ipa:
$ ideviceinstaller -i demo.ipa
成功输出如下:
WARNING: could not locate iTunesMetadata.plist in archive!
WARNING: could not locate Payload/SYMobile40.app/SC_Info/SYMobile40.sinf in archive!
Copying 'demo.ipa' to device... DONE.
Installing 'com.sy.test.medical'
Install: CreatingStagingDirectory (5%)
Install: ExtractingPackage (15%)
Install: InspectingPackage (20%)
Install: TakingInstallLock (20%)
Install: PreflightingApplication (30%)
Install: InstallingEmbeddedProfile (30%)
Install: VerifyingApplication (40%)
Install: CreatingContainer (50%)
Install: InstallingApplication (60%)
Install: PostflightingApplication (70%)
Install: SandboxingApplication (80%)
Install: GeneratingApplicationMap (90%)
Install: Complete
whps-MacBook-Pro:Downloads whp$
网友评论