IOS OpenDev下载与安装

1.下载地址 http://iosopendev.com/download/

2. 安装的过程中,如果出现错误的话,可以参考:https://github.com/kokoabim/iOSOpenDev/wiki/Troubleshoot

当然有时候出现的提示不知道是什么问题的话,可以将以上的问题都FIX下,FIX一个再安装一下看看,

正如本人在安装的过程中,出现如下的错误:

Jan 28 14:20:30 xxxmatoMacBook installd[2020]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “iOSOpenDev-1.5.pkg”." UserInfo=0x7fc17a5291f0 {NSFilePath=./postinstall, NSURL=file://localhost/Users/xxxx/Downloads/iOSOpenDev-1.5.pkg#iodsetup.pkg, PKInstallPackageIdentifier=com.iosopendev.iosopendev15.iod-setup.pkg, NSLocalizedDescription=An error occurred while running scripts from the package “iOSOpenDev-1.5.pkg”.} {
        NSFilePath = "./postinstall";
        NSLocalizedDescription = "An error occurred while running scripts from the package \U201ciOSOpenDev-1.5.pkg\U201d.";
        NSURL = "file://localhost/Users/xxxx/Downloads/iOSOpenDev-1.5.pkg#iodsetup.pkg";
        PKInstallPackageIdentifier = "com.iosopendev.iosopendev15.iod-setup.pkg";
    }

按照 https://github.com/kokoabim/iOSOpenDev/wiki/Troubleshoot  中的Xcode License 问题,FIX下,

1. Download https://github.com/downloads/kokoabim/iOSOpenDev/xcode-license.tar.gz and extract xcode-license out of it.
2. Open Terminal, go to the directory where the file was extracted to and run: ./xcode-license

然后重新安装就可以了。

安装完,最好重启下机器。

3.所有方案都试过了,还是有问题的话:

可以给  dev@iosopendev.com 发邮件,别忘了带上日志(command + L, 调出日志) 

4.如果编译的时候出现如下的错误:

target specifies product type ‘com.apple.product-type.library.dynamic’, but there’s no such product type for the ‘iphoneos’ platform

可以重启下机器看看。一般是因为刚安装完IOS Open-DEV还没有重启的缘故。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值