700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > ios打包ipa 命令安装ipa到iphone

ios打包ipa 命令安装ipa到iphone

时间:2021-02-11 01:32:30

相关推荐

ios打包ipa 命令安装ipa到iphone

1.在xcode中找到.app文件

2.xcrun -sdk iphoneos -v PackageApplication ../demo.app -o ~/Desktop/demo.ipa

3. 第二部可能报错xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH

(1)把旧版PackageApplication copy 目录下 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/

(2)sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/

(3)chmod +x /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication

4.

brew uninstall ideviceinstaller

brew uninstall libimobiledevice

brew install --HEAD libimobiledevice

brew link --overwrite libimobiledevice

brew install ideviceinstaller

brew link --overwrite ideviceinstaller

5.ideviceinstaller -i demo.ipa

参考:

/p/88bb51cba34d

/p/92273e86ab2b

/p/1ec36db7d551

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。