本文共 916 字,大约阅读时间需要 3 分钟。
xcode 版本为:
sudo port -f install dpkg
安装those工具
export THEOS=/opt/theos git clone -b stableversion https://github.com/haorenqq/theos/ $THEOS
下载文件
创建相应文件/应用程序/Xcode/Content/Developer/Platforms/IphoneOS.platform/Developer/Library/Xcode/
里面应该有8个文件,
iPhoneOS开头的四个文件放到/应用程序/Xcode/Content/Developer/Platforms/IphoneOS.platform/Developer/Library/Xcode/Specifications文件夹下(如果没有,请自己创建一个),
iPhone Simulator 开头的另外四个文件放入/应用程序/Xcode/Content/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Specifications文件夹下(如果没有,请同样创建一个)。
/应用程序/Xcode/Content/Developer/Platforms/iPhoneSimulator.platform/Developer/
另外在/应用程序/Xcode/Content/Developer/Platforms/iPhoneSimulator.platform/Developer/文件夹下创建usr文件夹,usr文件夹下再创建一个名为bin的文件夹
sudo ./iod-setup base sudo ./iod-setup sdk -sdk iphoneos
如:
转载于:https://blog.51cto.com/haidragon/2151869